Completed
Push — master ( 9c6422...d4c969 )
by Mohamed
01:18
created
src/Http/Controllers/Auth/ResetPasswordController.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@
 block discarded – undo
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
 {
Please login to merge, or discard this patch.
src/DataTables/UserDataTable.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@
 block discarded – undo
120 120
     /**
121 121
      * Get columns.
122 122
      *
123
-     * @return array
123
+     * @return Column[]
124 124
      */
125 125
     protected function getColumns()
126 126
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Http/Requests/Role/StoreFormRequest.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
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
 {
Please login to merge, or discard this patch.
src/Policies/RolePolicy.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@
 block discarded – undo
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
 {
Please login to merge, or discard this patch.
src/Commands/ResourceCommand.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
      */
Please login to merge, or discard this patch.
src/Foundations/Traits/ViewResolverTrait.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -33,6 +33,9 @@
 block discarded – undo
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 = '';
Please login to merge, or discard this patch.
src/Http/Controllers/SettingController.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -30,8 +30,6 @@
 block discarded – undo
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
      */
Please login to merge, or discard this patch.