Add some parameter type hints
This commit is contained in:
parent
5681892773
commit
b745d460ab
|
@ -183,7 +183,7 @@ class FileController {
|
||||||
*
|
*
|
||||||
* @return int
|
* @return int
|
||||||
*/
|
*/
|
||||||
public function delete_files( $files ): int {
|
public function delete_files( array $files ): int {
|
||||||
$deleted = 0;
|
$deleted = 0;
|
||||||
|
|
||||||
foreach ( $files as $basename ) {
|
foreach ( $files as $basename ) {
|
||||||
|
|
Loading…
Reference in New Issue