File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ public function jsonSerialize()
150150 }
151151
152152 /**
153- * Checks.
153+ * Checks whether the items are valid to create this collection .
154154 *
155155 * @param array $items
156156 */
@@ -163,6 +163,13 @@ protected function validateItems(array $items)
163163 }
164164 }
165165
166+ /**
167+ * Checks whether the array has enough items to generate a valid WKT.
168+ *
169+ * @param array $items
170+ *
171+ * @see $minimumCollectionItems
172+ */
166173 protected function validateItemCount (array $ items )
167174 {
168175 if (count ($ items ) < $ this ->minimumCollectionItems ) {
@@ -174,6 +181,13 @@ protected function validateItemCount(array $items)
174181 }
175182 }
176183
184+ /**
185+ * Checks the type of the items in the array.
186+ *
187+ * @param $item
188+ *
189+ * @see $collectionItemType
190+ */
177191 protected function validateItemType ($ item )
178192 {
179193 if (!$ item instanceof $ this ->collectionItemType ) {
You can’t perform that action at this time.
0 commit comments