@@ -16,7 +16,7 @@ discard block |
||
| 16 | 16 | use Traits\AttributeAware; |
| 17 | 17 | use Traits\NameAware; |
| 18 | 18 | |
| 19 | - protected NettePromotedParameter|NetteParameter $element; |
|
| 19 | + protected NettePromotedParameter | NetteParameter $element; |
|
| 20 | 20 | |
| 21 | 21 | public function __construct(string $name) |
| 22 | 22 | { |
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | { |
| 47 | 47 | $type = $this->element->getType(false); |
| 48 | 48 | |
| 49 | - return $type === null ? null : (string) $type; |
|
| 49 | + return $type === null ? null : (string)$type; |
|
| 50 | 50 | } |
| 51 | 51 | |
| 52 | 52 | public function setNullable(bool $state = true): static |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | /** |
| 82 | 82 | * @internal |
| 83 | 83 | */ |
| 84 | - public static function fromElement(NetteParameter|NettePromotedParameter $element): static |
|
| 84 | + public static function fromElement(NetteParameter | NettePromotedParameter $element): static |
|
| 85 | 85 | { |
| 86 | 86 | $parameter = new static($element->getName()); |
| 87 | 87 | |