@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | |
22 | 22 | $tmp = array(); |
23 | 23 | foreach ($args as $arg) { |
24 | - if (is_string($arg) && ! empty($arg)) { |
|
24 | + if (is_string($arg) && !empty($arg)) { |
|
25 | 25 | $tmp[] = $arg; |
26 | 26 | } |
27 | 27 | } |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | $pattern = '#(?<cmd>^"[^"]*"|\S*) *(?<prm>.*)?#'; |
43 | 43 | |
44 | 44 | $matches = array(); |
45 | - if (! preg_match($pattern, $input, $matches)) { |
|
45 | + if (!preg_match($pattern, $input, $matches)) { |
|
46 | 46 | throw new ParserException("Could not parse command"); |
47 | 47 | } |
48 | 48 | $cmd = $matches['cmd']; |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | |
63 | 63 | $args = array(); |
64 | 64 | |
65 | - if (! preg_match_all($sentencePattern, $param, $args)) { |
|
65 | + if (!preg_match_all($sentencePattern, $param, $args)) { |
|
66 | 66 | $args[] = $param; |
67 | 67 | } else { |
68 | 68 | $realArgs = array(); |