@@ -31,7 +31,7 @@ class QueryBuilder extends Builder
3131 * @since 2.0
3232 *
3333 * @param NodeModel $id
34- * @param bool $required
34+ * @param bool $required
3535 *
3636 * @return array<int,int>
3737 */
@@ -57,7 +57,7 @@ public function getNodeData(mixed $id, $required = false)
5757 * @since 2.0
5858 *
5959 * @param NodeModel $id
60- * @param bool $required
60+ * @param bool $required
6161 *
6262 * @return array<int,int>
6363 */
@@ -84,8 +84,8 @@ public function whereIsRoot(): QueryBuilder
8484 * @since 2.0
8585 *
8686 * @param NodeModel $id
87- * @param bool $andSelf
88- * @param string $boolean
87+ * @param bool $andSelf
88+ * @param string $boolean
8989 *
9090 * @return QueryBuilder<Tmodel>
9191 */
@@ -129,7 +129,7 @@ public function whereAncestorOf(mixed $id, bool $andSelf = false, string $boolea
129129
130130 /**
131131 * @param NodeModel $id
132- * @param bool $andSelf
132+ * @param bool $andSelf
133133 *
134134 * @return QueryBuilder<Tmodel>
135135 */
@@ -212,9 +212,9 @@ public function orWhereNodeBetween(array $values)
212212 * @since 2.0
213213 *
214214 * @param ?NodeModel $id
215- * @param string $boolean
216- * @param bool $not
217- * @param bool $andSelf
215+ * @param string $boolean
216+ * @param bool $not
217+ * @param bool $andSelf
218218 *
219219 * @return QueryBuilder<Tmodel>
220220 */
@@ -927,7 +927,7 @@ protected function fixNodes(array &$dictionary, $parent = null)
927927 /**
928928 * @param array<array-key,NodeModel[]> $dictionary
929929 * @param NodeModel[] $updated
930- * @param ?NodeModel $parentId
930+ * @param ?NodeModel $parentId
931931 * @param int $cut
932932 *
933933 * @return int
@@ -964,8 +964,8 @@ protected static function reorderNodes(
964964 * If item data does not contain primary key, new node will be created.
965965 *
966966 * @param array<array-key,NodeModel[]>[] $data
967- * @param bool $delete Whether to delete nodes that exists but not in the data array
968- * @param ?NodeModel $root
967+ * @param bool $delete Whether to delete nodes that exists but not in the data array
968+ * @param ?NodeModel $root
969969 *
970970 * @return int
971971 */
@@ -1012,7 +1012,7 @@ public function rebuildTree(array $data, $delete = false, $root = null)
10121012 }
10131013
10141014 /**
1015- * @param null $root
1015+ * @param null $root
10161016 * @param array<string,mixed>[] $data
10171017 * @param bool $delete
10181018 *
@@ -1027,7 +1027,7 @@ public function rebuildSubtree($root, array $data, $delete = false)
10271027 * @param array<array-key,NodeModel[]> $dictionary
10281028 * @param array<string,mixed>[] $data
10291029 * @param array<array-key,NodeModel> $existing
1030- * @param ?NodeModel $parentId
1030+ * @param ?NodeModel $parentId
10311031 */
10321032 protected function buildRebuildDictionary (array &$ dictionary ,
10331033 array $ data ,
0 commit comments