@@ -2,9 +2,9 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Microboard\Http\Controllers\Auth; |
| 4 | 4 | |
| 5 | +use Illuminate\Foundation\Auth\ResetsPasswords; |
|
| 5 | 6 | use Illuminate\Http\Request; |
| 6 | 7 | use Microboard\Http\Controllers\Controller; |
| 7 | -use Illuminate\Foundation\Auth\ResetsPasswords; |
|
| 8 | 8 | |
| 9 | 9 | class ResetPasswordController extends Controller |
| 10 | 10 | { |
@@ -120,7 +120,7 @@ |
||
| 120 | 120 | /** |
| 121 | 121 | * Get columns. |
| 122 | 122 | * |
| 123 | - * @return array |
|
| 123 | + * @return Column[] |
|
| 124 | 124 | */ |
| 125 | 125 | protected function getColumns() |
| 126 | 126 | { |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace Microboard\DataTables; |
| 4 | 4 | |
| 5 | 5 | use App\User; |
| 6 | -use Carbon\Carbon; |
|
| 7 | 6 | use Illuminate\Database\Eloquent\Builder; |
| 8 | 7 | use Microboard\Traits\DataTable as MicroboardDataTable; |
| 9 | 8 | use Yajra\DataTables\DataTableAbstract; |
@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Microboard\Http\Requests\Role; |
| 4 | 4 | |
| 5 | -use Microboard\Models\Role; |
|
| 6 | 5 | use Illuminate\Foundation\Http\FormRequest; |
| 6 | +use Microboard\Models\Role; |
|
| 7 | 7 | |
| 8 | 8 | class StoreFormRequest extends FormRequest |
| 9 | 9 | { |
@@ -2,9 +2,9 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Microboard\Policies; |
| 4 | 4 | |
| 5 | +use App\User; |
|
| 5 | 6 | use Illuminate\Auth\Access\HandlesAuthorization; |
| 6 | 7 | use Microboard\Models\Role; |
| 7 | -use App\User; |
|
| 8 | 8 | |
| 9 | 9 | class RolePolicy |
| 10 | 10 | { |
@@ -145,7 +145,7 @@ discard block |
||
| 145 | 145 | |
| 146 | 146 | /** |
| 147 | 147 | * @param $modelName |
| 148 | - * @return \Illuminate\Contracts\Foundation\Application|mixed |
|
| 148 | + * @return string |
|
| 149 | 149 | */ |
| 150 | 150 | protected function getNamespacedModel($modelName) |
| 151 | 151 | { |
@@ -220,7 +220,7 @@ discard block |
||
| 220 | 220 | /** |
| 221 | 221 | * Create a new blade file with given name. |
| 222 | 222 | * |
| 223 | - * @param $file |
|
| 223 | + * @param string $file |
|
| 224 | 224 | * @return $this |
| 225 | 225 | * @throws FileNotFoundException |
| 226 | 226 | */ |
@@ -239,7 +239,7 @@ discard block |
||
| 239 | 239 | |
| 240 | 240 | /** |
| 241 | 241 | * @param $view |
| 242 | - * @param $name |
|
| 242 | + * @param \Illuminate\Support\Stringable $name |
|
| 243 | 243 | * @return string |
| 244 | 244 | */ |
| 245 | 245 | protected function getViewsPath($view, $name): string |
@@ -271,7 +271,7 @@ discard block |
||
| 271 | 271 | * |
| 272 | 272 | * @param $file |
| 273 | 273 | * @param string $stub |
| 274 | - * @param $name |
|
| 274 | + * @param \Illuminate\Support\Stringable $name |
|
| 275 | 275 | * @return string |
| 276 | 276 | * @throws FileNotFoundException |
| 277 | 277 | */ |
@@ -33,6 +33,9 @@ |
||
| 33 | 33 | ], $this->buildVariables($model)); |
| 34 | 34 | } |
| 35 | 35 | |
| 36 | + /** |
|
| 37 | + * @param Model $model |
|
| 38 | + */ |
|
| 36 | 39 | protected function buildVariables(?Model $model = null) { |
| 37 | 40 | $routePrefix = 'microboard'; |
| 38 | 41 | $translationsPrefix = ''; |
@@ -30,8 +30,6 @@ |
||
| 30 | 30 | /** |
| 31 | 31 | * Update the specified resource in storage. |
| 32 | 32 | * |
| 33 | - * @param UpdateFormRequest $request |
|
| 34 | - * @param Setting $setting |
|
| 35 | 33 | * @return RedirectResponse |
| 36 | 34 | * @throws AuthorizationException |
| 37 | 35 | */ |