@@ -45,7 +45,7 @@ |
||
| 45 | 45 | */ |
| 46 | 46 | public function hasAttribute(string $name): bool |
| 47 | 47 | { |
| 48 | - return $this->attributes->exists(function (AttributeModelInterface $attribute) use ($name) { |
|
| 48 | + return $this->attributes->exists(function(AttributeModelInterface $attribute) use ($name) { |
|
| 49 | 49 | return $attribute->getName() === $name; |
| 50 | 50 | }); |
| 51 | 51 | } |
@@ -42,8 +42,8 @@ |
||
| 42 | 42 | */ |
| 43 | 43 | public function countNotAbstractFunctions(): int |
| 44 | 44 | { |
| 45 | - return $this->functions->filter(function (FunctionModelInterface $function) { |
|
| 46 | - return ! $function->isAbstract(); |
|
| 45 | + return $this->functions->filter(function(FunctionModelInterface $function) { |
|
| 46 | + return !$function->isAbstract(); |
|
| 47 | 47 | })->count(); |
| 48 | 48 | } |
| 49 | 49 | } |