@@ -62,7 +62,7 @@ |
||
| 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 | |
@@ -45,7 +45,7 @@ discard block |
||
| 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 |
||
| 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 | |