Completed
Branch master (fd1517)
by
unknown
55:46
created
src/behaviors/NestedSetBehavior.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
      *        [optional] defaults to $this->owner
192 192
      * @param integer $limit
193 193
      *        [optional] limit results (typically used when only after limited number of immediate children)
194
-     * @return ActiveQuery|integer
194
+     * @return ActiveQuery
195 195
      */
196 196
     public function descendants($depth = null, $object = null, $limit = 0)
197 197
     {
@@ -230,7 +230,7 @@  discard block
 block discarded – undo
230 230
      *        [optional] defaults to $this->owner
231 231
      * @param integer $limit
232 232
      *        [optional] limit results (typically used when only after limited number of immediate children)
233
-     * @return ActiveQuery|integer
233
+     * @return ActiveQuery
234 234
      */
235 235
     public function children($object = null, $limit = 0)
236 236
     {
@@ -329,7 +329,7 @@  discard block
 block discarded – undo
329 329
      *        [optional] defaults to $this->owner
330 330
      * @param integer $limit
331 331
      *        [optional] limit results (typically used when only after limited number of immediate children)
332
-     * @return ActiveQuery|integer
332
+     * @return ActiveQuery
333 333
      */
334 334
     public function level($object = null, $limit = 0)
335 335
     {
@@ -343,7 +343,7 @@  discard block
 block discarded – undo
343 343
      *
344 344
      * @param ActiveRecord $object
345 345
      *        [optional] defaults to $this->owner
346
-     * @return integer
346
+     * @return boolean|string
347 347
      */
348 348
     public function levelCount($object = null)
349 349
     {
@@ -1176,7 +1176,7 @@  discard block
 block discarded – undo
1176 1176
      * @param ModelEvent $event
1177 1177
      *        event parameter
1178 1178
      * @throws Exception
1179
-     * @return boolean
1179
+     * @return boolean|null
1180 1180
      */
1181 1181
     public function beforeSaveAll($event)
1182 1182
     {
Please login to merge, or discard this patch.