Passed
Push — cleanup ( 1df3c6 )
by Luis
14:39
created
src/Graphviz/Digraph.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
 
63 63
     private function elementsToDotLanguage(): string
64 64
     {
65
-        $dotFormat = array_map(function (HasDotRepresentation $element) {
65
+        $dotFormat = array_map(function(HasDotRepresentation $element) {
66 66
             return $element->toDotLanguage();
67 67
         }, $this->dotElements);
68 68
 
Please login to merge, or discard this patch.
src/Code/ClassDefinition.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
 
46 46
     public function hasConstructor(): bool
47 47
     {
48
-        return \count(array_filter($this->functions, function (Method $function) {
48
+        return \count(array_filter($this->functions, function(Method $function) {
49 49
             return $function->isConstructor();
50 50
         })) === 1;
51 51
     }
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
             return [];
58 58
         }
59 59
 
60
-        $constructors = array_filter($this->functions, function (Method $function) {
60
+        $constructors = array_filter($this->functions, function(Method $function) {
61 61
             return $function->isConstructor();
62 62
         });
63 63
 
Please login to merge, or discard this patch.
src/Parser/StructureBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
             return TypeDeclaration::absent();
97 97
         }
98 98
 
99
-        $type = null;  // There might be no type information in the comment
99
+        $type = null; // There might be no type information in the comment
100 100
         $matches = [];
101 101
         $arrayExpression = '/^[\s*]*@var\s+array\(\s*(\w+\s*=>\s*)?(\w+)\s*\).*$/m';
102 102
         if (preg_match($arrayExpression, $comment, $matches)) {
Please login to merge, or discard this patch.