@@ -74,7 +74,7 @@ discard block |
||
| 74 | 74 | /** |
| 75 | 75 | * Log the user. |
| 76 | 76 | * |
| 77 | - * @return \Illuminate\Http\RedirectReponse |
|
| 77 | + * @return \Illuminate\Http\RedirectResponse |
|
| 78 | 78 | */ |
| 79 | 79 | public function getLogout() |
| 80 | 80 | { |
@@ -117,7 +117,7 @@ discard block |
||
| 117 | 117 | * panel.If they do no, they will be sent |
| 118 | 118 | * to the homepage of the website. |
| 119 | 119 | * |
| 120 | - * @return \Illuminate\Http\RedirectReponse |
|
| 120 | + * @return \Illuminate\Http\RedirectResponse |
|
| 121 | 121 | */ |
| 122 | 122 | protected function loginRedirect() |
| 123 | 123 | { |
@@ -98,7 +98,7 @@ |
||
| 98 | 98 | /** |
| 99 | 99 | * Returns the Application Instance. |
| 100 | 100 | * |
| 101 | - * @return mixed |
|
| 101 | + * @return \Illuminate\Foundation\Application |
|
| 102 | 102 | */ |
| 103 | 103 | public function app() |
| 104 | 104 | { |
@@ -127,7 +127,7 @@ |
||
| 127 | 127 | /** |
| 128 | 128 | * Returns the path to a provided file within the Flare package. |
| 129 | 129 | * |
| 130 | - * @param bool $fiepath |
|
| 130 | + * @param bool $filepath |
|
| 131 | 131 | * |
| 132 | 132 | * @return string |
| 133 | 133 | */ |
@@ -237,7 +237,6 @@ |
||
| 237 | 237 | /** |
| 238 | 238 | * Process Restore ModelItem Request. |
| 239 | 239 | * |
| 240 | - * @param int $page_id |
|
| 241 | 240 | * |
| 242 | 241 | * @return \Illuminate\Http\RedirectResponse |
| 243 | 242 | */ |
@@ -8,7 +8,6 @@ |
||
| 8 | 8 | * Create a new Attribute Instance |
| 9 | 9 | * |
| 10 | 10 | * @param string $type |
| 11 | - * @param string $action |
|
| 12 | 11 | * @param string $attribute |
| 13 | 12 | * @param string $field |
| 14 | 13 | * @param string $model |
@@ -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 | { |
@@ -32,6 +32,7 @@ discard block |
||
| 32 | 32 | * Create a new collection. |
| 33 | 33 | * |
| 34 | 34 | * @param mixed $items |
| 35 | + * @param \LaravelFlare\Flare\Admin\Models\ModelAdmin $modelManager |
|
| 35 | 36 | * |
| 36 | 37 | * @return void |
| 37 | 38 | */ |
@@ -48,7 +49,7 @@ discard block |
||
| 48 | 49 | * Attempt to reformat the current attribute items array |
| 49 | 50 | * into the most usable format (an Attribute Collection). |
| 50 | 51 | * |
| 51 | - * @return void |
|
| 52 | + * @return AttributeCollection |
|
| 52 | 53 | */ |
| 53 | 54 | public function formatFields() |
| 54 | 55 | { |