@@ -205,7 +205,7 @@ |
||
205 | 205 | $map = "0123456789X"; |
206 | 206 | $weights = "8765432X098765432"; |
207 | 207 | $sum = 0; |
208 | - for ($i=0; $i < 17; $i++) { |
|
208 | + for ($i = 0; $i < 17; $i++) { |
|
209 | 209 | $sum += self::transliterate(substr($vin, $i, 1)) |
210 | 210 | * stripos($map, $weights[$i]); |
211 | 211 | } |
@@ -8,7 +8,7 @@ |
||
8 | 8 | public function getVehicleModel(): string; |
9 | 9 | public function getBrandsWithModels(): array; |
10 | 10 | public function getVehicleType(): string; |
11 | - public function getVehicleFuelType(): string|array; |
|
11 | + public function getVehicleFuelType(): string | array; |
|
12 | 12 | public function getVehicleDoorCount(): int; |
13 | 13 | public function getVehicleSeatCount(): int; |
14 | 14 | public function getVehicleProperties(int $count = 0): array; |
@@ -48,7 +48,7 @@ |
||
48 | 48 | /** |
49 | 49 | * @throws Exception |
50 | 50 | */ |
51 | - public function getVehicleFuelType(int $count = 1): string|array |
|
51 | + public function getVehicleFuelType(int $count = 1): string | array |
|
52 | 52 | { |
53 | 53 | return FakeCarHelper::getArrayData($this->vehicleData::$vehicleFuelTypes, $count); |
54 | 54 | } |
@@ -158,7 +158,7 @@ |
||
158 | 158 | */ |
159 | 159 | public static function getRangeWithUnit(array $range, string $unit, int $decimals = 0): string |
160 | 160 | { |
161 | - return static::getRange($range, $decimals) . ' ' . $unit; |
|
161 | + return static::getRange($range, $decimals).' '.$unit; |
|
162 | 162 | } |
163 | 163 | |
164 | 164 | } |