@@ -372,7 +372,7 @@ public function rename($newName);
372372 *
373373 * @param string $name The name of a property of this node
374374 * @param mixed $value The value to be assigned
375- * @param integer $type The type to set for the property, optional. Must be
375+ * @param int $type The type to set for the property, optional. Must be
376376 * a constant from {@link PropertyType}
377377 *
378378 * @return PropertyInterface The new resp. updated Property object
@@ -482,9 +482,9 @@ public function getNode($relPath);
482482 *
483483 * The same reacquisition semantics apply as with getNode($relPath).
484484 *
485- * @param string|array $nameFilter a filter or an array of filters for the
485+ * @param string|string[] $nameFilter a filter or an array of filters for the
486486 * node names to find.
487- * @param string|array $typeFilter a filter or an array of filters for the
487+ * @param string|string[] $typeFilter a filter or an array of filters for the
488488 * node type names to find.
489489 *
490490 * @return Iterator<string, NodeInterface> over all (matching) child Nodes implementing <b>SeekableIterator</b>
@@ -518,9 +518,9 @@ public function getNodes($nameFilter = null, $typeFilter = null);
518518 * Note that a match succeeds against a given name respectively type if a
519519 * glob matches either or both of its qualified or expanded forms.
520520 *
521- * @param string|array $nameFilter a filter or an array of filters for the
521+ * @param string|string[] $nameFilter a filter or an array of filters for the
522522 * node names to find.
523- * @param string|array $typeFilter a filter or an array of filters for the
523+ * @param string|string[] $typeFilter a filter or an array of filters for the
524524 * node type names to find.
525525 *
526526 * @return Iterator<string> over all child node names
@@ -557,7 +557,7 @@ public function getProperty($relPath);
557557 * This is a shortcut for getProperty()->getXX()
558558 *
559559 * @param string $name Name of this property
560- * @param integer $type Type conversion request, optional. Must be a
560+ * @param int $type Type conversion request, optional. Must be a
561561 * constant from {@link PropertyType}
562562 *
563563 * @return mixed The value of the property with $name.
@@ -627,7 +627,7 @@ public function getPropertyValueWithDefault($relPath, $defaultValue);
627627 *
628628 * The same reacquisition semantics apply as with getProperty().
629629 *
630- * @param string|array $nameFilter a name pattern
630+ * @param string|string[] $nameFilter a name pattern
631631 *
632632 * @return Iterator<string, PropertyInterface> implementing <b>SeekableIterator</b> and
633633 * <b>Countable</b>. Keys are the property names.
@@ -647,8 +647,8 @@ public function getProperties($nameFilter = null);
647647 * To improve performance, implementations should avoid instantiating the
648648 * property objects for this method
649649 *
650- * @param string|array $nameFilter a name pattern
651- * @param boolean $dereference whether to dereference REFERENCE,
650+ * @param string|string[] $nameFilter a name pattern
651+ * @param bool $dereference whether to dereference REFERENCE,
652652 * WEAKREFERENCE and PATH properties or just return id/path strings
653653 *
654654 * @return array<string, mixed> Keys are the property names, values the corresponding
@@ -712,7 +712,7 @@ public function getIdentifier();
712712 * nodes that do not have same-name-siblings, this method will always
713713 * return 1.
714714 *
715- * @return integer The index of this node within the ordered set of its
715+ * @return int The index of this node within the ordered set of its
716716 * same-name sibling nodes.
717717 *
718718 * @throws RepositoryException if an error occurs.
@@ -797,7 +797,7 @@ public function getWeakReferences($name = null);
797797 *
798798 * @param string $relPath The path of a (possible) node.
799799 *
800- * @return boolean true if a node exists at relPath; false otherwise.
800+ * @return bool true if a node exists at relPath; false otherwise.
801801 *
802802 * @throws InvalidArgumentException if $relPath is an absolute path
803803 * @throws RepositoryException if an error occurs.
@@ -814,7 +814,7 @@ public function hasNode($relPath);
814814 *
815815 * @param string $relPath The path of a (possible) property.
816816 *
817- * @return boolean true if a property exists at relPath; false otherwise.
817+ * @return bool true if a property exists at relPath; false otherwise.
818818 *
819819 * @throws InvalidArgumentException if $relPath is an absolute path
820820 * @throws RepositoryException if an error occurs.
@@ -829,7 +829,7 @@ public function hasProperty($relPath);
829829 * Returns true if this node has one or more child nodes accessible through
830830 * the current Session; false otherwise.
831831 *
832- * @return boolean true if this node has one or more child nodes; false
832+ * @return bool true if this node has one or more child nodes; false
833833 * otherwise.
834834 *
835835 * @throws RepositoryException if an error occurs.
@@ -844,7 +844,7 @@ public function hasNodes();
844844 * Returns true if this node has one or more properties accessible through
845845 * the current Session; false otherwise.
846846 *
847- * @return boolean true if this node has one or more properties; false
847+ * @return bool true if this node has one or more properties; false
848848 * otherwise.
849849 *
850850 * @throws RepositoryException if an error occurs.
@@ -893,7 +893,7 @@ public function getMixinNodeTypes();
893893 *
894894 * @param string $nodeTypeName the name of a node type.
895895 *
896- * @return boolean true if this node is of the specified primary node type
896+ * @return bool true if this node is of the specified primary node type
897897 * or mixin type, or a subtype thereof. Returns false otherwise.
898898 *
899899 * @throws RepositoryException if an error occurs.
@@ -1038,7 +1038,7 @@ public function removeMixin($mixinName);
10381038 * if a lock prevents the assignment of the mixins. Implementations may
10391039 * differ on when this validation is done.
10401040 *
1041- * @param array $mixinNames the names of the mixin node types to be set
1041+ * @param string[] $mixinNames the names of the mixin node types to be set
10421042 *
10431043 * @throws NoSuchNodeTypeException If one or more of the
10441044 * specified $mixinNames are not recognized and this implementation
@@ -1078,7 +1078,7 @@ public function setMixins(array $mixinNames);
10781078 *
10791079 * @param string $mixinName The name of the mixin to be tested.
10801080 *
1081- * @return boolean true if the specified mixin node type, mixinName, can be
1081+ * @return bool true if the specified mixin node type, mixinName, can be
10821082 * added to this node; false otherwise.
10831083 *
10841084 * @throws NoSuchNodeTypeException if the specified mixin
@@ -1239,7 +1239,7 @@ public function removeShare();
12391239 * support versioning (and therefore all nodes are always "checked-out",
12401240 * by default).
12411241 *
1242- * @return boolean
1242+ * @return bool
12431243 *
12441244 * @throws RepositoryException if an error occurs.
12451245 *
@@ -1255,7 +1255,7 @@ public function isCheckedOut();
12551255 * otherwise returns false. This includes the case where a repository does
12561256 * not support locking (in which case all nodes are "unlocked" by default).
12571257 *
1258- * @return boolean .
1258+ * @return bool .
12591259 *
12601260 * @throws RepositoryException if an error occurs.
12611261 *
0 commit comments