Passed
Push — master ( deecf0...b54cbd )
by Luis
03:32
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.