@@ -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 | */ |
@@ -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 | { |
@@ -138,6 +138,7 @@ |
||
| 138 | 138 | /** |
| 139 | 139 | * Performs the Model Query |
| 140 | 140 | * |
| 141 | + * @param boolean $count |
|
| 141 | 142 | * @return \Illuminate\Database\Eloquent\Collection |
| 142 | 143 | */ |
| 143 | 144 | private function query($count) |
@@ -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 | { |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace LaravelFlare\Flare\Http\Controllers; |
| 4 | 4 | |
| 5 | -use Illuminate\Http\Request; |
|
| 6 | 5 | use Illuminate\Contracts\Auth\Guard; |
| 7 | 6 | use LaravelFlare\Flare\Admin\AdminManager; |
| 8 | 7 | use Illuminate\Foundation\Bus\DispatchesJobs; |
@@ -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 | { |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace LaravelFlare\Flare\Http\Controllers; |
| 4 | 4 | |
| 5 | -use Illuminate\Http\Request; |
|
| 6 | 5 | use Illuminate\Contracts\Auth\Guard; |
| 7 | 6 | use LaravelFlare\Flare\Admin\AdminManager; |
| 8 | 7 | use Illuminate\Foundation\Bus\DispatchesJobs; |