Completed
Push — v2 ( 141320...507fed )
by Joschi
05:01
created
src/Micrometa/Ports/Item/ItemList.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -165,7 +165,6 @@  discard block
 block discarded – undo
165 165
      * Delete an item at a particular offset
166 166
      *
167 167
      * @param int $offset Offset
168
-     * @param ItemInterface $value Item
169 168
      */
170 169
     public function offsetUnset($offset)
171 170
     {
@@ -193,6 +192,7 @@  discard block
 block discarded – undo
193 192
      * Return the first item, optionally of particular types
194 193
      *
195 194
      * @param array ...$types Item types
195
+     * @param string $types
196 196
      * @return ItemInterface Item
197 197
      * @throws OutOfBoundsException If there are no matching items
198 198
      * @api
Please login to merge, or discard this patch.
src/Micrometa/Application/Item/Item.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -117,14 +117,14 @@
 block discarded – undo
117 117
             'language' => $this->getLanguage(),
118 118
             'value' => $this->getValue(),
119 119
             'types' => array_map(
120
-                function ($type) {
120
+                function($type) {
121 121
                     return $type->profile.$type->name;
122 122
                 },
123 123
                 $this->getType()
124 124
             ),
125 125
             'properties' => $this->getProperties()->export(),
126 126
             'items' => array_map(
127
-                function (ItemInterface $item) {
127
+                function(ItemInterface $item) {
128 128
                     return $item->export();
129 129
                 },
130 130
                 $this->getChildren()
Please login to merge, or discard this patch.