@@ -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 | { |
@@ -9,7 +9,6 @@ |
||
9 | 9 | use LaravelFlare\Flare\Events\AfterRestore; |
10 | 10 | use LaravelFlare\Flare\Events\BeforeRestore; |
11 | 11 | use LaravelFlare\Flare\Events\ModelSoftDelete; |
12 | -use LaravelFlare\Flare\Exceptions\ModelAdminWriteableException as WriteableException; |
|
13 | 12 | |
14 | 13 | trait ModelSoftDeleting |
15 | 14 | { |
@@ -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) |
@@ -9,7 +9,6 @@ |
||
9 | 9 | use LaravelFlare\Flare\Events\AfterRestore; |
10 | 10 | use LaravelFlare\Flare\Events\BeforeRestore; |
11 | 11 | use LaravelFlare\Flare\Events\ModelSoftDelete; |
12 | -use LaravelFlare\Flare\Exceptions\ModelAdminWriteableException as WriteableException; |
|
13 | 12 | |
14 | 13 | trait ModelSoftDeleting |
15 | 14 | { |
@@ -9,7 +9,6 @@ |
||
9 | 9 | use LaravelFlare\Flare\Events\AfterRestore; |
10 | 10 | use LaravelFlare\Flare\Events\BeforeRestore; |
11 | 11 | use LaravelFlare\Flare\Events\ModelSoftDelete; |
12 | -use LaravelFlare\Flare\Exceptions\ModelAdminWriteableException as WriteableException; |
|
13 | 12 | |
14 | 13 | trait ModelSoftDeleting |
15 | 14 | { |
@@ -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; |