@@ -33,6 +33,7 @@ |
||
| 33 | 33 | * Create a new collection. |
| 34 | 34 | * |
| 35 | 35 | * @param mixed $items |
| 36 | + * @param ModelAdmin $modelManager |
|
| 36 | 37 | */ |
| 37 | 38 | public function __construct($items = [], $modelManager = null) |
| 38 | 39 | { |
@@ -447,7 +447,7 @@ discard block |
||
| 447 | 447 | /** |
| 448 | 448 | * Determine if the Model Admin has Viewing Capabilities. |
| 449 | 449 | * |
| 450 | - * @return bool |
|
| 450 | + * @return null|boolean |
|
| 451 | 451 | */ |
| 452 | 452 | public function hasViewing() |
| 453 | 453 | { |
@@ -457,7 +457,7 @@ discard block |
||
| 457 | 457 | /** |
| 458 | 458 | * Determine if the Model Admin has Creating Capabilities. |
| 459 | 459 | * |
| 460 | - * @return bool |
|
| 460 | + * @return null|boolean |
|
| 461 | 461 | */ |
| 462 | 462 | public function hasCreating() |
| 463 | 463 | { |
@@ -467,7 +467,7 @@ discard block |
||
| 467 | 467 | /** |
| 468 | 468 | * Determine if the Model Admin has Cloning Capabilities. |
| 469 | 469 | * |
| 470 | - * @return bool |
|
| 470 | + * @return null|boolean |
|
| 471 | 471 | */ |
| 472 | 472 | public function hasCloning() |
| 473 | 473 | { |
@@ -477,7 +477,7 @@ discard block |
||
| 477 | 477 | /** |
| 478 | 478 | * Determine if the Model Admin has Editting Capabilities. |
| 479 | 479 | * |
| 480 | - * @return bool |
|
| 480 | + * @return null|boolean |
|
| 481 | 481 | */ |
| 482 | 482 | public function hasEditting() |
| 483 | 483 | { |
@@ -487,7 +487,7 @@ discard block |
||
| 487 | 487 | /** |
| 488 | 488 | * Determine if the Model Admin has Deleting Capabilities. |
| 489 | 489 | * |
| 490 | - * @return bool |
|
| 490 | + * @return null|boolean |
|
| 491 | 491 | */ |
| 492 | 492 | public function hasDeleting() |
| 493 | 493 | { |
@@ -520,7 +520,7 @@ discard block |
||
| 520 | 520 | /** |
| 521 | 521 | * Determine if the Model Admin has Validating Capabilities. |
| 522 | 522 | * |
| 523 | - * @return bool |
|
| 523 | + * @return null|boolean |
|
| 524 | 524 | */ |
| 525 | 525 | public function hasValidating() |
| 526 | 526 | { |
@@ -542,7 +542,7 @@ discard block |
||
| 542 | 542 | * |
| 543 | 543 | * @param string $trait |
| 544 | 544 | * |
| 545 | - * @return bool |
|
| 545 | + * @return null|boolean |
|
| 546 | 546 | */ |
| 547 | 547 | public function hasTrait($trait = null) |
| 548 | 548 | { |
@@ -558,7 +558,7 @@ discard block |
||
| 558 | 558 | * |
| 559 | 559 | * @param string $contract |
| 560 | 560 | * |
| 561 | - * @return bool |
|
| 561 | + * @return boolean|null |
|
| 562 | 562 | */ |
| 563 | 563 | public function hasContract($contract = null) |
| 564 | 564 | { |