Passed
Push — master ( 73f5b7...2a0545 )
by Jesse
01:39
created
src/Graph/Graph.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,13 +18,13 @@
 block discarded – undo
18 18
     {
19 19
         /** @var Vertex[] */
20 20
         $verticesByLabel = array_combine(
21
-            array_map(function (Vertex $vertex): string {
21
+            array_map(function(Vertex $vertex): string {
22 22
                 return $vertex->label();
23 23
             }, $vertices),
24 24
             $vertices
25 25
         );
26 26
         $this->vertices = $verticesByLabel;
27
-        $this->ids = Ids::for(...$vertices);
27
+        $this->ids = Ids::for (...$vertices);
28 28
     }
29 29
 
30 30
     public static function with(Vertex ...$vertices): Network
Please login to merge, or discard this patch.
src/Graph/GeometricGraph.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,13 +19,13 @@
 block discarded – undo
19 19
     {
20 20
         /** @var GeometricVertex[] */
21 21
         $verticesByLabel = array_combine(
22
-            array_map(function (Vertex $vertex): string {
22
+            array_map(function(Vertex $vertex): string {
23 23
                 return $vertex->label();
24 24
             }, $vertices),
25 25
             $vertices
26 26
         );
27 27
         $this->vertices = $verticesByLabel;
28
-        $this->ids = Ids::for(...$vertices);
28
+        $this->ids = Ids::for (...$vertices);
29 29
     }
30 30
 
31 31
     public static function with(GeometricVertex ...$vertices): Environment
Please login to merge, or discard this patch.