dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Pass LBFactory to WatchedItemStore"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
api
/
generateRandomImages.php
diff --git
a/tests/phpunit/includes/api/generateRandomImages.php
b/tests/phpunit/includes/api/generateRandomImages.php
index
d4a5acf
..
9e7ef99
100644
(file)
--- a/
tests/phpunit/includes/api/generateRandomImages.php
+++ b/
tests/phpunit/includes/api/generateRandomImages.php
@@
-30,7
+30,7
@@
class GenerateRandomImages extends Maintenance {
];
$options = getopt( null, $getOptSpec );
];
$options = getopt( null, $getOptSpec );
- $format =
isset( $options['format'] ) ? $options['format'] :
'jpg';
+ $format =
$options['format'] ??
'jpg';
unset( $options['format'] );
$number = isset( $options['number'] ) ? intval( $options['number'] ) : 10;
unset( $options['format'] );
$number = isset( $options['number'] ) ? intval( $options['number'] ) : 10;