@@ -393,7 +393,7 @@ discard block |
||
| 393 | 393 | /** |
| 394 | 394 | * Format the provided Attribute Fields into a more usable format. |
| 395 | 395 | * |
| 396 | - * @return void |
|
| 396 | + * @return AttributeCollection |
|
| 397 | 397 | */ |
| 398 | 398 | protected function formatFields() |
| 399 | 399 | { |
@@ -419,7 +419,7 @@ discard block |
||
| 419 | 419 | /** |
| 420 | 420 | * Determine if the Model Admin has Viewing Capabilities. |
| 421 | 421 | * |
| 422 | - * @return bool |
|
| 422 | + * @return null|boolean |
|
| 423 | 423 | */ |
| 424 | 424 | public function hasViewing() |
| 425 | 425 | { |
@@ -429,7 +429,7 @@ discard block |
||
| 429 | 429 | /** |
| 430 | 430 | * Determine if the Model Admin has Creating Capabilities. |
| 431 | 431 | * |
| 432 | - * @return bool |
|
| 432 | + * @return null|boolean |
|
| 433 | 433 | */ |
| 434 | 434 | public function hasCreating() |
| 435 | 435 | { |
@@ -439,7 +439,7 @@ discard block |
||
| 439 | 439 | /** |
| 440 | 440 | * Determine if the Model Admin has Cloning Capabilities. |
| 441 | 441 | * |
| 442 | - * @return bool |
|
| 442 | + * @return null|boolean |
|
| 443 | 443 | */ |
| 444 | 444 | public function hasCloning() |
| 445 | 445 | { |
@@ -449,7 +449,7 @@ discard block |
||
| 449 | 449 | /** |
| 450 | 450 | * Determine if the Model Admin has Editting Capabilities. |
| 451 | 451 | * |
| 452 | - * @return bool |
|
| 452 | + * @return null|boolean |
|
| 453 | 453 | */ |
| 454 | 454 | public function hasEditting() |
| 455 | 455 | { |
@@ -459,7 +459,7 @@ discard block |
||
| 459 | 459 | /** |
| 460 | 460 | * Determine if the Model Admin has Deleting Capabilities. |
| 461 | 461 | * |
| 462 | - * @return bool |
|
| 462 | + * @return null|boolean |
|
| 463 | 463 | */ |
| 464 | 464 | public function hasDeleting() |
| 465 | 465 | { |
@@ -492,7 +492,7 @@ discard block |
||
| 492 | 492 | /** |
| 493 | 493 | * Determine if the Model Admin has Validating Capabilities. |
| 494 | 494 | * |
| 495 | - * @return bool |
|
| 495 | + * @return null|boolean |
|
| 496 | 496 | */ |
| 497 | 497 | public function hasValidating() |
| 498 | 498 | { |
@@ -514,7 +514,7 @@ discard block |
||
| 514 | 514 | * |
| 515 | 515 | * @param string $trait |
| 516 | 516 | * |
| 517 | - * @return boolean |
|
| 517 | + * @return null|boolean |
|
| 518 | 518 | */ |
| 519 | 519 | public function hasTrait($trait = null) |
| 520 | 520 | { |
@@ -530,7 +530,7 @@ discard block |
||
| 530 | 530 | * |
| 531 | 531 | * @param string $contract |
| 532 | 532 | * |
| 533 | - * @return boolean |
|
| 533 | + * @return boolean|null |
|
| 534 | 534 | */ |
| 535 | 535 | public function hasContract($contract = null) |
| 536 | 536 | { |
@@ -33,6 +33,7 @@ discard block |
||
| 33 | 33 | * Create a new collection. |
| 34 | 34 | * |
| 35 | 35 | * @param mixed $items |
| 36 | + * @param ModelAdmin $modelManager |
|
| 36 | 37 | * |
| 37 | 38 | * @return void |
| 38 | 39 | */ |
@@ -49,7 +50,7 @@ discard block |
||
| 49 | 50 | * Attempt to reformat the current attribute items array |
| 50 | 51 | * into the most usable format (an Attribute Collection). |
| 51 | 52 | * |
| 52 | - * @return void |
|
| 53 | + * @return AttributeCollection |
|
| 53 | 54 | */ |
| 54 | 55 | public function formatFields() |
| 55 | 56 | { |