Completed
Push — master ( f4a207...00ac22 )
by Ventaquil
09:54
created
src/Algorithms/GraphTools/Point.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -4,9 +4,9 @@
 block discarded – undo
4 4
 class Point
5 5
 {
6 6
     protected $id,
7
-              $x,
8
-              $y,
9
-              $label = null;
7
+                $x,
8
+                $y,
9
+                $label = null;
10 10
 
11 11
     public function __construct($id, $label = null)
12 12
     {
Please login to merge, or discard this patch.
src/Algorithms/GraphTools/ConnectionsContainer.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
 
71 71
         $this->each(function ($connection) use (&$connections, $from) {
72 72
             if ($connection->from
73
-                           ->id == $from) {
73
+                            ->id == $from) {
74 74
                 $connections[] = $connection;
75 75
             }
76 76
         });
Please login to merge, or discard this 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 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
 class Creator
5 5
 {
6 6
     protected $points = array(),
7
-              $labels = array();
7
+                $labels = array();
8 8
 
9 9
     public function __construct($points = null)
10 10
     {
Please login to merge, or discard this 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.