X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fapi%2FRandomImageGenerator.php;h=78cb7fb152ef7f2b6f58816d9ab67810b020250b;hb=efe855145dfe509aa6c62f4bcee6fbf320fda957;hp=62e175b2ab83be766f71f5208ea07b61364d1818;hpb=4b73a8b6fbb6da651af850a7d667e6e8d59e6fce;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/api/RandomImageGenerator.php b/tests/phpunit/includes/api/RandomImageGenerator.php index 62e175b2ab..78cb7fb152 100644 --- a/tests/phpunit/includes/api/RandomImageGenerator.php +++ b/tests/phpunit/includes/api/RandomImageGenerator.php @@ -230,7 +230,7 @@ class RandomImageGenerator { $points[] = $point['x'] . ',' . $point['y']; } - return join( " ", $points ); + return implode( " ", $points ); } /** @@ -425,7 +425,7 @@ class RandomImageGenerator { $components[] = mt_rand( 0, 255 ); } - return 'rgb(' . join( ', ', $components ) . ')'; + return 'rgb(' . implode( ', ', $components ) . ')'; } /**