@@ -39,8 +39,8 @@ discard block |
||
| 39 | 39 | { |
| 40 | 40 | $node = m::mock(NodeInterface::class); |
| 41 | 41 | $node->shouldReceive('someMethod') |
| 42 | - ->once() |
|
| 43 | - ->andReturn(null); |
|
| 42 | + ->once() |
|
| 43 | + ->andReturn(null); |
|
| 44 | 44 | |
| 45 | 45 | $collection = new NodeCollection(); |
| 46 | 46 | $collection->add($node); |
@@ -57,8 +57,8 @@ discard block |
||
| 57 | 57 | { |
| 58 | 58 | $node = m::mock(NodeInterface::class); |
| 59 | 59 | $node->shouldReceive('someMethod') |
| 60 | - ->once() |
|
| 61 | - ->andReturn(null); |
|
| 60 | + ->once() |
|
| 61 | + ->andReturn(null); |
|
| 62 | 62 | |
| 63 | 63 | $collection = new NodeCollection(); |
| 64 | 64 | $collection->add($node); |
@@ -98,9 +98,9 @@ discard block |
||
| 98 | 98 | $second = m::mock(NodeInterface::class); |
| 99 | 99 | |
| 100 | 100 | $first->shouldReceive('thisOne') |
| 101 | - ->andReturn(false); |
|
| 101 | + ->andReturn(false); |
|
| 102 | 102 | $second->shouldReceive('thisOne') |
| 103 | - ->andReturn(true); |
|
| 103 | + ->andReturn(true); |
|
| 104 | 104 | |
| 105 | 105 | $collection = new NodeCollection([$first, $second]); |
| 106 | 106 | |
@@ -115,9 +115,9 @@ discard block |
||
| 115 | 115 | $second = m::mock(NodeInterface::class); |
| 116 | 116 | |
| 117 | 117 | $first->shouldReceive('thisOne') |
| 118 | - ->andReturn(true); |
|
| 118 | + ->andReturn(true); |
|
| 119 | 119 | $second->shouldReceive('thisOne') |
| 120 | - ->andReturn(false); |
|
| 120 | + ->andReturn(false); |
|
| 121 | 121 | |
| 122 | 122 | $collection = new NodeCollection([$first, $second]); |
| 123 | 123 | |
@@ -133,9 +133,9 @@ discard block |
||
| 133 | 133 | $default = m::mock(NodeInterface::class); |
| 134 | 134 | |
| 135 | 135 | $first->shouldReceive('thisOne') |
| 136 | - ->andReturn(false); |
|
| 136 | + ->andReturn(false); |
|
| 137 | 137 | $second->shouldReceive('thisOne') |
| 138 | - ->andReturn(false); |
|
| 138 | + ->andReturn(false); |
|
| 139 | 139 | |
| 140 | 140 | $collection = new NodeCollection([$first, $second]); |
| 141 | 141 | |
@@ -154,9 +154,9 @@ discard block |
||
| 154 | 154 | $default = m::mock(NodeInterface::class); |
| 155 | 155 | |
| 156 | 156 | $first->shouldReceive('thisOne') |
| 157 | - ->andReturn(false); |
|
| 157 | + ->andReturn(false); |
|
| 158 | 158 | $second->shouldReceive('thisOne') |
| 159 | - ->andReturn(false); |
|
| 159 | + ->andReturn(false); |
|
| 160 | 160 | |
| 161 | 161 | $collection = new NodeCollection([$first, $second]); |
| 162 | 162 | |