Passed
Pull Request — master (#3)
by lee
02:42
created
src/Exceptions/UnknowCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,6 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Exception;
6 6
 
7
-class UnknowCommand extends Exception{
7
+class UnknowCommand extends Exception {
8 8
     //
9 9
 }
Please login to merge, or discard this patch.
src/Terminal.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
             return (new $availableCommand)->binding() === $binding;
38 38
         });
39 39
 
40
-        if (! isset($command[0])) {
40
+        if (!isset($command[0])) {
41 41
             throw new Exceptions\UnknowCommand();
42 42
         }
43 43
 
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
      */
51 51
     public function getAvailableCommands()
52 52
     {
53
-        return array_map(function($availableCommand){
53
+        return array_map(function($availableCommand) {
54 54
 
55 55
             $command = new $availableCommand;
56 56
 
Please login to merge, or discard this patch.