Test Failed
Push — main ( b30d66...68ae2b )
by Peter
15:45 queued 12:41
created
src/FakeCar.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
105 105
      *
106 106
      * @return string|array<string>
107 107
      */
108
-    public function vehicleFuelType(int $count = 1): string|array
108
+    public function vehicleFuelType(int $count = 1): string | array
109 109
     {
110 110
         return $this->dataProvider->getVehicleFuelType($count);
111 111
     }
Please login to merge, or discard this patch.
src/FakeCarDataProviderInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     /**
19 19
      * @return string|array<string>)
20 20
      */
21
-    public function getVehicleFuelType(int $count = 1): string|array;
21
+    public function getVehicleFuelType(int $count = 1): string | array;
22 22
 
23 23
     public function getVehicleDoorCount(): int;
24 24
 
Please login to merge, or discard this patch.
src/FakeCarDataProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
      *
53 53
      * @throws Exception
54 54
      */
55
-    public function getVehicleFuelType(int $count = 1): string|array
55
+    public function getVehicleFuelType(int $count = 1): string | array
56 56
     {
57 57
         return FakeCarHelper::getArrayData($this->vehicleData::$vehicleFuelTypes, $count);
58 58
     }
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
     /**
105 105
      * @throws Exception
106 106
      */
107
-    public function getVehicleEnginePowerValue(): int|string
107
+    public function getVehicleEnginePowerValue(): int | string
108 108
     {
109 109
         ['range' => $range] = $this->vehicleData::$vehicleEnginePower;
110 110
 
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
     /**
125 125
      * @throws Exception
126 126
      */
127
-    public function getVehicleEngineTorqueValue(): int|string
127
+    public function getVehicleEngineTorqueValue(): int | string
128 128
     {
129 129
         ['range' => $range] = $this->vehicleData::$vehicleEngineTorque;
130 130
 
Please login to merge, or discard this patch.
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.