@@ -31,7 +31,7 @@ class QueryBuilder extends Builder
31
31
* @since 2.0
32
32
*
33
33
* @param NodeModel $id
34
- * @param bool $required
34
+ * @param bool $required
35
35
*
36
36
* @return array<int,int>
37
37
*/
@@ -57,7 +57,7 @@ public function getNodeData(mixed $id, $required = false)
57
57
* @since 2.0
58
58
*
59
59
* @param NodeModel $id
60
- * @param bool $required
60
+ * @param bool $required
61
61
*
62
62
* @return array<int,int>
63
63
*/
@@ -84,8 +84,8 @@ public function whereIsRoot(): QueryBuilder
84
84
* @since 2.0
85
85
*
86
86
* @param NodeModel $id
87
- * @param bool $andSelf
88
- * @param string $boolean
87
+ * @param bool $andSelf
88
+ * @param string $boolean
89
89
*
90
90
* @return QueryBuilder<Tmodel>
91
91
*/
@@ -129,7 +129,7 @@ public function whereAncestorOf(mixed $id, bool $andSelf = false, string $boolea
129
129
130
130
/**
131
131
* @param NodeModel $id
132
- * @param bool $andSelf
132
+ * @param bool $andSelf
133
133
*
134
134
* @return QueryBuilder<Tmodel>
135
135
*/
@@ -212,9 +212,9 @@ public function orWhereNodeBetween(array $values)
212
212
* @since 2.0
213
213
*
214
214
* @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
218
218
*
219
219
* @return QueryBuilder<Tmodel>
220
220
*/
@@ -927,7 +927,7 @@ protected function fixNodes(array &$dictionary, $parent = null)
927
927
/**
928
928
* @param array<array-key,NodeModel[]> $dictionary
929
929
* @param NodeModel[] $updated
930
- * @param ?NodeModel $parentId
930
+ * @param ?NodeModel $parentId
931
931
* @param int $cut
932
932
*
933
933
* @return int
@@ -964,8 +964,8 @@ protected static function reorderNodes(
964
964
* If item data does not contain primary key, new node will be created.
965
965
*
966
966
* @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
969
969
*
970
970
* @return int
971
971
*/
@@ -1012,7 +1012,7 @@ public function rebuildTree(array $data, $delete = false, $root = null)
1012
1012
}
1013
1013
1014
1014
/**
1015
- * @param null $root
1015
+ * @param null $root
1016
1016
* @param array<string,mixed>[] $data
1017
1017
* @param bool $delete
1018
1018
*
@@ -1027,7 +1027,7 @@ public function rebuildSubtree($root, array $data, $delete = false)
1027
1027
* @param array<array-key,NodeModel[]> $dictionary
1028
1028
* @param array<string,mixed>[] $data
1029
1029
* @param array<array-key,NodeModel> $existing
1030
- * @param ?NodeModel $parentId
1030
+ * @param ?NodeModel $parentId
1031
1031
*/
1032
1032
protected function buildRebuildDictionary (array &$ dictionary ,
1033
1033
array $ data ,
0 commit comments