diff --git a/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/FileController.php b/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/FileController.php index 21f28dec15d..53efe63021c 100644 --- a/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/FileController.php +++ b/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/FileController.php @@ -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 ) {