Skip to content

Commit 240c386

Browse files
committed
Fixed phpDoc
1 parent f24e4c2 commit 240c386

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/NestedSetsBehavior.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ protected function deleteWithChildrenInternal()
205205

206206
/**
207207
* Gets the parents of the node.
208-
* @param integer $depth the depth
208+
* @param integer|null $depth the depth
209209
* @return \yii\db\ActiveQuery
210210
*/
211211
public function parents($depth = null)
@@ -227,7 +227,7 @@ public function parents($depth = null)
227227

228228
/**
229229
* Gets the children of the node.
230-
* @param integer $depth the depth
230+
* @param integer|null $depth the depth
231231
* @return \yii\db\ActiveQuery
232232
*/
233233
public function children($depth = null)

0 commit comments

Comments
 (0)