Add some parameter type hints

This commit is contained in:
Corey McKrill 2023-10-24 14:11:37 -07:00
parent 5681892773
commit b745d460ab
No known key found for this signature in database
GPG Key ID: 84BBFE669C4D97B8
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ class FileController {
*
* @return int
*/
public function delete_files( $files ): int {
public function delete_files( array $files ): int {
$deleted = 0;
foreach ( $files as $basename ) {