Completed
Push — v2 ( e198fb...470733 )
by Joschi
04:46
created
src/Micrometa/Domain/Item/PropertyList.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -184,7 +184,7 @@  discard block
 block discarded – undo
184 184
     /**
185 185
      * Return whether a property exists
186 186
      *
187
-     * @param \stdClass|string $iri IRI
187
+     * @param \stdClass $iri IRI
188 188
      * @return boolean Property exists
189 189
      */
190 190
     public function offsetExists($iri)
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
     /**
198 198
      * Set a particular property
199 199
      *
200
-     * @param \stdClass|string $iri IRI
200
+     * @param \stdClass $iri IRI
201 201
      * @param array $value Property values
202 202
      */
203 203
     public function offsetSet($iri, $value)
Please login to merge, or discard this patch.
src/Micrometa/Ports/Item/ItemList.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -160,6 +160,7 @@
 block discarded – undo
160 160
      * Return the first item, optionally of particular types
161 161
      *
162 162
      * @param array ...$types Item types
163
+     * @param string $types
163 164
      * @return ItemInterface Item
164 165
      * @throws OutOfBoundsException If there are no matching items
165 166
      * @api
Please login to merge, or discard this patch.
src/Micrometa/Ports/Item/Item.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -163,7 +163,7 @@
 block discarded – undo
163 163
      * Return whether an aliased item type in contained in a set of query types
164 164
      *
165 165
      * @param string $profile Type profile
166
-     * @param array $names Aliased type names
166
+     * @param string[] $names Aliased type names
167 167
      * @param ProfiledNamesList $types Query types
168 168
      * @return bool Item type is contained in the set of query types
169 169
      */
Please login to merge, or discard this patch.
src/Micrometa/Domain/Item/Item.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@
 block discarded – undo
144 144
     /**
145 145
      * Return the item types
146 146
      *
147
-     * @return \stdClass[] Item types
147
+     * @return string[] Item types
148 148
      */
149 149
     public function getType()
150 150
     {
Please login to merge, or discard this patch.
src/Micrometa/Infrastructure/Parser/LinkRel.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
      * @param string $profile Profile
119 119
      * @param string $attribute Attribute name
120 120
      * @param string $value Attribute value
121
-     * @return array Attribute values
121
+     * @return string[] Attribute values
122 122
      */
123 123
     protected function parseAttributeValue($profile, $attribute, $value)
124 124
     {
Please login to merge, or discard this patch.