Passed
Push — master ( 35f5f1...248925 )
by Toby
02:11
created
src/ResourceCollection.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -102,9 +102,9 @@  discard block
 block discarded – undo
102 102
     {
103 103
         $values = array();
104 104
 
105
-        foreach($this->resources as $resource)
105
+        foreach ($this->resources as $resource)
106 106
         {
107
-            if(($value = $resource->$key) !== false)
107
+            if (($value = $resource->$key) !== false)
108 108
             {
109 109
                 $values[] = $value;
110 110
             }
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
      * @return \Traversable|ArrayIterator
120 120
      */
121 121
     public function getIterator() {
122
-        return new \ArrayIterator( $this->resources );
122
+        return new \ArrayIterator($this->resources);
123 123
     }
124 124
 
125 125
 }
126 126
\ No newline at end of file
Please login to merge, or discard this patch.