@@ -11,7 +11,7 @@ discard block |
||
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 |
||
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; |
@@ -12,7 +12,7 @@ |
||
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 | } |