@@ -53,7 +53,7 @@ |
||
| 53 | 53 | */ |
| 54 | 54 | protected function validate($input) |
| 55 | 55 | { |
| 56 | - if (count ($input) < 2) { |
|
| 56 | + if (count($input) < 2) { |
|
| 57 | 57 | throw new \Exception('You need pass a plate and colour for park'); |
| 58 | 58 | } |
| 59 | 59 | } |
@@ -60,7 +60,7 @@ |
||
| 60 | 60 | if (!isset ($input[0])) { |
| 61 | 61 | throw new \Exception('Param required'); |
| 62 | 62 | } |
| 63 | - if (!is_file ($input[0])) { |
|
| 63 | + if (!is_file($input[0])) { |
|
| 64 | 64 | throw new \Exception('File invalid'); |
| 65 | 65 | } |
| 66 | 66 | } |