Completed
Push — master ( 391c2e...e5e5ec )
by Ventaquil
02:20
created
src/Traits/AllowedPropertiesTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
         }
37 37
 
38 38
 
39
-        return trigger_error('Call to undefined method '. static::class . "::{$name}()", E_USER_ERROR);
39
+        return trigger_error('Call to undefined method '.static::class."::{$name}()", E_USER_ERROR);
40 40
     }
41 41
 
42 42
     /**
Please login to merge, or discard this patch.
src/Graph/Connection/Builder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
      * Builder constructor.
57 57
      * @param GraphBuilder|null $builder
58 58
      */
59
-    public function __construct(?GraphBuilder $builder = null)
59
+    public function __construct(? GraphBuilder $builder = null)
60 60
     {
61 61
         $this->builder = $builder;
62 62
     }
Please login to merge, or discard this patch.
src/Graph/Node.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
      * @param float|null $y
56 56
      * @param float|null $z
57 57
      */
58
-    public function __construct(?float $x = null, ?float $y = null, ?float $z = null)
58
+    public function __construct(? float $x = null, ? float $y = null, ? float $z = null)
59 59
     {
60 60
         $this->id = $this::$increment++;
61 61
 
Please login to merge, or discard this patch.
src/Graph/Node/Builder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
      * Builder constructor.
57 57
      * @param GraphBuilder|null $builder
58 58
      */
59
-    public function __construct(?GraphBuilder $builder = null)
59
+    public function __construct(? GraphBuilder $builder = null)
60 60
     {
61 61
         $this->builder = $builder;
62 62
     }
Please login to merge, or discard this patch.
src/Graph.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
      * @param Node $to
115 115
      * @return null|Connection
116 116
      */
117
-    public function getNearestConnection(Node $from, Node $to) : ?Connection
117
+    public function getNearestConnection(Node $from, Node $to) : ? Connection
118 118
     {
119 119
         /**
120 120
          * @var null|Connection $nearest
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
      * @param Node $to
140 140
      * @return null|float
141 141
      */
142
-    public function getNearestDistance(Node $from, Node $to) : ?float
142
+    public function getNearestDistance(Node $from, Node $to) : ? float
143 143
     {
144 144
         $nearest = $this->getNearestConnection($from, $to);
145 145
 
Please login to merge, or discard this patch.