Completed
Push — master ( 00ac22...93a9de )
by Ventaquil
03:01 queued 51s
created
src/Algorithms/GraphTools/ConnectionsContainer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
             foreach ($connections as $connection) {
12 12
                 $this->add($connection);
13 13
             }
14
-        } elseif(!is_null($connections)) {
14
+        } elseif (!is_null($connections)) {
15 15
             throw new ConnectionException('ConnectionsContainer contructor only accept connections array');
16 16
         }
17 17
     }
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
     {
69 69
         $connections = array();
70 70
 
71
-        $this->each(function ($connection) use (&$connections, $from) {
71
+        $this->each(function($connection) use (&$connections, $from) {
72 72
             if ($connection->from
73 73
                            ->id == $from) {
74 74
                 $connections[] = $connection;
Please login to merge, or discard this patch.
src/Algorithms/GraphTools/Creator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
             foreach ($points as $point) {
13 13
                 $this->add($point);
14 14
             }
15
-        } elseif(!is_null($points)) {
15
+        } elseif (!is_null($points)) {
16 16
             throw new CreatorException('Creator contructor only accept points array');
17 17
         }
18 18
     }
Please login to merge, or discard this patch.