X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fapi%2FRandomImageGenerator.php;h=75e73befc7b8a844cfb0c2baec0571e5c429f60c;hb=dff469a408dac341da27c97eaac85df946140e30;hp=7fd5f1dd38cbfe2984581f9414d51d9ef8317b59;hpb=369b34f0ae64076b91df63e7432f5bf6f19a76a6;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/api/RandomImageGenerator.php b/tests/phpunit/includes/api/RandomImageGenerator.php index 7fd5f1dd38..75e73befc7 100644 --- a/tests/phpunit/includes/api/RandomImageGenerator.php +++ b/tests/phpunit/includes/api/RandomImageGenerator.php @@ -105,7 +105,7 @@ class RandomImageGenerator { * * @param int $number Number of filenames to write * @param string $format Optional, must be understood by ImageMagick, such as 'jpg' or 'gif' - * @param string $dir Directory, optional (will default to current working directory) + * @param string|null $dir Directory, optional (will default to current working directory) * @return array Filenames we just wrote */ function writeImages( $number, $format = 'jpg', $dir = null ) {