Completed
Pull Request — master (#37)
by Viacheslav
09:48
created
src/PhpFile.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
     {
39 39
         $prev = self::setCurrentPhpFile($this);
40 40
         /** @noinspection PhpUnusedLocalVariableInspection */
41
-        $_ = new ScopeExit(function () use ($prev) {
41
+        $_ = new ScopeExit(function() use ($prev) {
42 42
             self::setCurrentPhpFile($prev);
43 43
         });
44 44
 
Please login to merge, or discard this patch.
src/PhpFunction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@
 block discarded – undo
158 158
      */
159 159
     public function addThrows($throws)
160 160
     {
161
-        $this->throws []= $throws;
161
+        $this->throws [] = $throws;
162 162
         return $this;
163 163
     }
164 164
 
Please login to merge, or discard this patch.
src/JSDoc/TypeBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
         $isNumber = false;
42 42
 
43 43
         if ($schema->const !== null) {
44
-            return '(' + var_export($schema->const, true) + ')';
44
+            return '(' +var_export($schema->const, true) + ')';
45 45
         }
46 46
 
47 47
         if (!empty($schema->enum)) {
Please login to merge, or discard this patch.