Test Failed
Pull Request — master (#922)
by Maxim
23:15 queued 14:07
created
src/Reactor/src/Partial/Parameter.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.