Test Setup Failed
Branch master (b157cc)
by Jordan
05:33
created
Category
src/DocBlock.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -165,9 +165,9 @@
 block discarded – undo
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");
Please login to merge, or discard this patch.
src/File.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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),
Please login to merge, or discard this patch.