| @@ -165,9 +165,9 @@ | ||
| 165 | 165 | |
| 166 | 166 | return "/**\n" . | 
| 167 | 167 | $groups | 
| 168 | -                ->transform(function ($group) { | |
| 168 | +                ->transform(function($group) { | |
| 169 | 169 | return Collection::wrap($group) | 
| 170 | -                        ->transform(function ($line) { | |
| 170 | +                        ->transform(function($line) { | |
| 171 | 171 | return " * $line"; | 
| 172 | 172 | }) | 
| 173 | 173 |                          ->implode("\n"); | 
| @@ -81,7 +81,7 @@ discard block | ||
| 81 | 81 | */ | 
| 82 | 82 | public static function forClass(string $class) | 
| 83 | 83 |      { | 
| 84 | -        if (! class_exists($class)) { | |
| 84 | +        if (!class_exists($class)) { | |
| 85 | 85 |              throw new Exception("$class does not exist."); | 
| 86 | 86 | } | 
| 87 | 87 | |
| @@ -97,7 +97,7 @@ discard block | ||
| 97 | 97 | */ | 
| 98 | 98 | public static function open(string $file) | 
| 99 | 99 |      { | 
| 100 | -        if (! file_exists($file)) { | |
| 100 | +        if (!file_exists($file)) { | |
| 101 | 101 |              throw new Exception("Cannot open $file. File does not exist."); | 
| 102 | 102 | } | 
| 103 | 103 | |
| @@ -219,7 +219,7 @@ discard block | ||
| 219 | 219 |          $class->setAttribute('startLine', 0); | 
| 220 | 220 | |
| 221 | 221 | $this->newStatements[0]->stmts = $uses | 
| 222 | -            ->transform(function ($use) { | |
| 222 | +            ->transform(function($use) { | |
| 223 | 223 | return [ | 
| 224 | 224 | 'name' => $name = $use->uses[0]->name->toString(), | 
| 225 | 225 | 'length' => strlen($name), |