Completed
Push — v2 ( ad2ba8...88b419 )
by Joschi
04:59
created
src/Micrometa/Domain/Item/PropertyList.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
     /**
168 168
      * Return whether a property exists
169 169
      *
170
-     * @param \stdClass|string $iri IRI
170
+     * @param \stdClass $iri IRI
171 171
      * @return boolean Property exists
172 172
      */
173 173
     public function offsetExists($iri)
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
     /**
181 181
      * Set a particular property
182 182
      *
183
-     * @param \stdClass|string $iri IRI
183
+     * @param \stdClass $iri IRI
184 184
      * @param array $value Property values
185 185
      */
186 186
     public function offsetSet($iri, $value)
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
     /**
197 197
      * Get a particular property
198 198
      *
199
-     * @param \stdClass|string $iri IRI
199
+     * @param \stdClass $iri IRI
200 200
      * @return array Property values
201 201
      */
202 202
     public function &offsetGet($iri)
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
             return;
161 161
         }
162 162
 
163
-        $propertyValues =& $this->offsetGet($iri);
163
+        $propertyValues = & $this->offsetGet($iri);
164 164
         $propertyValues = array_merge($propertyValues, $values);
165 165
     }
166 166
 
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
225 225
     {
226 226
         $values = $this->values;
227 227
         return array_map(
228
-            function ($cursor) use ($values) {
228
+            function($cursor) use ($values) {
229 229
                 return $values[$cursor];
230 230
             },
231 231
             $this->nameToCursor
Please login to merge, or discard this patch.
src/Micrometa/Infrastructure/Factory/MicroformatsFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
     protected static function createTypes(array $types)
90 90
     {
91 91
         return array_map(
92
-            function ($type) {
92
+            function($type) {
93 93
                 return (object)['profile' => self::MF2_PROFILE_URI, 'name' => $type];
94 94
             }, $types
95 95
         );
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
     protected static function createProperty(array $propertyValues)
124 124
     {
125 125
         return array_map(
126
-            function ($propertyValue) {
126
+            function($propertyValue) {
127 127
                 if (is_array($propertyValue)) {
128 128
                     return isset($propertyValue['type']) ? self::createItem($propertyValue) : $propertyValue;
129 129
                 }
Please login to merge, or discard this patch.