Index: trunk/phase3/maintenance/tests/phpunit/includes/api/generateRandomImages.php |
— | — | @@ -18,7 +18,7 @@ |
19 | 19 | $format = isset( $options['format'] ) ? $options['format'] : 'jpg'; |
20 | 20 | unset( $options['format'] ); |
21 | 21 | |
22 | | -$number = isset( $options['number'] ) ? int( $options['number'] ) : 10; |
| 22 | +$number = isset( $options['number'] ) ? intval( $options['number'] ) : 10; |
23 | 23 | unset( $options['number'] ); |
24 | 24 | |
25 | 25 | $randomImageGenerator = new RandomImageGenerator( $options ); |