Completed
Branch master (f79551)
by Rafael
04:16
created
src/Console/Command/Import.php 2 patches
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,6 +30,9 @@  discard block
 block discarded – undo
30 30
         }
31 31
     }
32 32
 
33
+    /**
34
+     * @param string $command
35
+     */
33 36
     public function generateArgv($command)
34 37
     {
35 38
         return array_merge(['parking'], explode(' ', $command));
@@ -38,7 +41,7 @@  discard block
 block discarded – undo
38 41
     /**
39 42
      *
40 43
      * @param $input
41
-     * @return array
44
+     * @return string[]
42 45
      */
43 46
     protected function parse($input)
44 47
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Console/Command/Park.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.