Test Failed
Push — feature/add-more-data-types ( 2dd71c...29d786 )
by Peter
03:18
created
src/FakeCarHelper.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      *
50 50
      * @throws InvalidArgumentException|RandomException
51 51
      */
52
-    public static function getRandomElementFromArray(array $values): int|string
52
+    public static function getRandomElementFromArray(array $values): int | string
53 53
     {
54 54
         $elements = static::getRandomElementsFromArray($values, 1);
55 55
 
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
      *
99 99
      * @throws Exception
100 100
      */
101
-    public static function getWeighted(array $values, int $count = 1): string|int
101
+    public static function getWeighted(array $values, int $count = 1): string | int
102 102
     {
103 103
         // TODO: Implement support for $count > 1
104 104
         $currentTotal = 0;
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
      *
125 125
      * @throws RandomException
126 126
      */
127
-    public static function getRange(array $range, int $decimals = 0): int|string
127
+    public static function getRange(array $range, int $decimals = 0): int | string
128 128
     {
129 129
         if (count($range) !== 2) {
130 130
             throw new RandomException('Invalid range');
Please login to merge, or discard this patch.