X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Flibs%2Ffilebackend%2FFileBackend.php;h=6d5efa23b9429a6080d8eeaaa7c3d6c334e137d6;hb=130ec2523df12a3ca2fe0d422163696d09fcea08;hp=2d4a772b7e714d0be6563be60becd89c049bec6f;hpb=59cc46fa644563786e86440fefbbbd599f39d951;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/libs/filebackend/FileBackend.php b/includes/libs/filebackend/FileBackend.php index 2d4a772b7e..6d5efa23b9 100644 --- a/includes/libs/filebackend/FileBackend.php +++ b/includes/libs/filebackend/FileBackend.php @@ -1267,7 +1267,7 @@ abstract class FileBackend implements LoggerAwareInterface { * * @see FileBackend::getFileStat() * - * @param array $paths Storage paths (optional) + * @param array|null $paths Storage paths (optional) */ abstract public function clearCache( array $paths = null ); @@ -1590,7 +1590,7 @@ abstract class FileBackend implements LoggerAwareInterface { final protected function newStatus() { $args = func_get_args(); if ( count( $args ) ) { - $sv = call_user_func_array( [ StatusValue::class, 'newFatal' ], $args ); + $sv = StatusValue::newFatal( ...$args ); } else { $sv = StatusValue::newGood(); }