@@ -113,7 +113,7 @@ public function getVertexId($id)
113113 * checks whether given vertex ID exists in this set of vertices
114114 *
115115 * @param int|string $id identifier of Vertex
116- * @return boolean
116+ * @return bool
117117 * @uses self::hasVertexMatch()
118118 */
119119 public function hasVertexId ($ id )
@@ -199,7 +199,7 @@ public function getVertexMatch($callbackCheck)
199199 * checks whether there's a Vertex that matches the given callback filter function
200200 *
201201 * @param callable $callbackCheck
202- * @return boolean
202+ * @return bool
203203 * @see self::getVertexMatch() to return the Vertex instance that matches the given callback filter function
204204 * @uses self::getVertexMatchOrNull()
205205 */
@@ -211,7 +211,7 @@ public function hasVertexMatch($callbackCheck)
211211 /**
212212 * get a new set of Vertices that match the given callback filter function
213213 *
214- * This only keeps Vertex elements if the $callbackCheck returns a boolean
214+ * This only keeps Vertex elements if the $callbackCheck returns a bool
215215 * true and filters out everything else.
216216 *
217217 * Vertex index positions will be left unchanged, so if you call this method
@@ -233,7 +233,7 @@ public function getVerticesMatch($callbackCheck)
233233 * on a VerticesMap, it will also return a VerticesMap.
234234 *
235235 * @param int $orderBy criterium to sort by. see Vertex::ORDER_ID, etc.
236- * @param boolean $desc whether to return biggest first (true) instead of smallest first (default:false)
236+ * @param bool $desc whether to return biggest first (true) instead of smallest first (default:false)
237237 * @return Vertices a new Vertices set ordered by the given $orderBy criterium
238238 * @throws InvalidArgumentException if criterium is unknown
239239 * @see self::getVertexOrder()
@@ -311,7 +311,7 @@ public function getVerticesIntersection($otherVertices)
311311 * get first vertex (optionally ordered by given criterium $by) from given array of vertices
312312 *
313313 * @param int $orderBy criterium to sort by. see Vertex::ORDER_ID, etc.
314- * @param boolean $desc whether to return biggest (true) instead of smallest (default:false)
314+ * @param bool $desc whether to return biggest (true) instead of smallest (default:false)
315315 * @return Vertex
316316 * @throws InvalidArgumentException if criterium is unknown
317317 * @throws UnderflowException if no vertices exist
@@ -422,7 +422,7 @@ public function count()
422422 * A Set if empty if no single Vertex instance is added. This is faster
423423 * than calling `count() === 0`.
424424 *
425- * @return boolean
425+ * @return bool
426426 */
427427 public function isEmpty ()
428428 {
@@ -432,7 +432,7 @@ public function isEmpty()
432432 /**
433433 * check whether this set contains any duplicate vertex instances
434434 *
435- * @return boolean
435+ * @return bool
436436 * @uses self::getMap()
437437 */
438438 public function hasDuplicates ()
0 commit comments