Completed
Push — master ( c49890...76bd48 )
by Harry
31s
created
tests/unit/NodeCollectionTest.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -37,8 +37,8 @@  discard block
 block discarded – undo
37 37
     {
38 38
         $node = m::mock(NodeInterface::class);
39 39
         $node->shouldReceive('someMethod')
40
-             ->once()
41
-             ->andReturn(null);
40
+                ->once()
41
+                ->andReturn(null);
42 42
 
43 43
         $collection = new NodeCollection();
44 44
         $collection->add($node);
@@ -55,8 +55,8 @@  discard block
 block discarded – undo
55 55
     {
56 56
         $node = m::mock(NodeInterface::class);
57 57
         $node->shouldReceive('someMethod')
58
-             ->once()
59
-             ->andReturn(null);
58
+                ->once()
59
+                ->andReturn(null);
60 60
 
61 61
         $collection = new NodeCollection();
62 62
         $collection->add($node);
@@ -97,11 +97,11 @@  discard block
 block discarded – undo
97 97
         $third = m::mock(NodeInterface::class);
98 98
 
99 99
         $first->shouldReceive('thisOne')
100
-              ->andReturn(false);
100
+                ->andReturn(false);
101 101
         $second->shouldReceive('thisOne')
102
-               ->andReturn(true);
102
+                ->andReturn(true);
103 103
         $third->shouldReceive('thosOne')
104
-              ->andReturn(true);
104
+                ->andReturn(true);
105 105
 
106 106
         $collection = new NodeCollection([$first, $second, $third]);
107 107
 
@@ -117,11 +117,11 @@  discard block
 block discarded – undo
117 117
         $third = m::mock(NodeInterface::class);
118 118
 
119 119
         $first->shouldReceive('thisOne')
120
-              ->andReturn(true);
120
+                ->andReturn(true);
121 121
         $second->shouldReceive('thisOne')
122
-               ->andReturn(true);
122
+                ->andReturn(true);
123 123
         $third->shouldReceive('thisOne')
124
-              ->andReturn(false);
124
+                ->andReturn(false);
125 125
 
126 126
         $collection = new NodeCollection([$first, $second, $third]);
127 127
 
@@ -137,9 +137,9 @@  discard block
 block discarded – undo
137 137
         $default = m::mock(NodeInterface::class);
138 138
 
139 139
         $first->shouldReceive('thisOne')
140
-              ->andReturn(false);
140
+                ->andReturn(false);
141 141
         $second->shouldReceive('thisOne')
142
-               ->andReturn(false);
142
+                ->andReturn(false);
143 143
 
144 144
         $collection = new NodeCollection([$first, $second]);
145 145
 
@@ -158,9 +158,9 @@  discard block
 block discarded – undo
158 158
         $default = m::mock(NodeInterface::class);
159 159
 
160 160
         $first->shouldReceive('thisOne')
161
-              ->andReturn(false);
161
+                ->andReturn(false);
162 162
         $second->shouldReceive('thisOne')
163
-               ->andReturn(false);
163
+                ->andReturn(false);
164 164
 
165 165
         $collection = new NodeCollection([$first, $second]);
166 166
 
Please login to merge, or discard this patch.