Completed
Push — master ( 47f780...63a81c )
by Avtandil
14:46
created
src/helpers.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -127,6 +127,10 @@
 block discarded – undo
127 127
 }
128 128
 
129 129
 if (!function_exists('e')) {
130
+
131
+    /**
132
+     * @param string $value
133
+     */
130 134
     function e($value)
131 135
     {
132 136
         return htmlspecialchars($value);
Please login to merge, or discard this patch.
src/Platfourm/Auth/AuthServiceProvider.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
     /**
14 14
      * Register any application authentication / authorization services.
15 15
      *
16
-     * @param  \Illuminate\Contracts\Auth\Access\Gate $gate
17 16
      * @return void
18 17
      */
19 18
     public function boot(AuthManager $auth)
Please login to merge, or discard this patch.
src/Platfourm/Auth/Middleware/Ability.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,6 @@
 block discarded – undo
18 18
     /**
19 19
      * Create a new filter instance.
20 20
      *
21
-     * @param  Guard $auth
22 21
      * @return void
23 22
      */
24 23
     public function __construct(AuthUserServiceContract $authService)
Please login to merge, or discard this patch.
src/Platfourm/Auth/Middleware/Permission.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
     /**
18 18
      * Create a new filter instance.
19 19
      *
20
-     * @param  Guard $auth
21 20
      * @return void
22 21
      */
23 22
     public function __construct(AuthUserServiceContract $authService)
Please login to merge, or discard this patch.
src/Platfourm/Auth/Middleware/ResponseGuestIfAuthenticated.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
     /**
18 18
      * Create a new filter instance.
19 19
      *
20
-     * @param  Guard $auth
21 20
      * @return void
22 21
      */
23 22
     public function __construct(AuthUserServiceContract $authService)
Please login to merge, or discard this patch.
src/Platfourm/Auth/Middleware/Role.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
     /**
18 18
      * Create a new filter instance.
19 19
      *
20
-     * @param  Guard $auth
21 20
      * @return void
22 21
      */
23 22
     public function __construct(AuthUserServiceContract $authService)
Please login to merge, or discard this patch.
src/Platfourm/Auth/Services/AuthUserService.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -155,6 +155,9 @@
 block discarded – undo
155 155
         }
156 156
     }
157 157
 
158
+    /**
159
+     * @param string $perm
160
+     */
158 161
     public function can($perm)
159 162
     {
160 163
         return $this->getUser()->can($perm);
Please login to merge, or discard this patch.
src/Platfourm/Category/Repositories/Eloquent/TextRepository.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,6 @@
 block discarded – undo
23 23
     /**
24 24
      * Update a entity in repository by id.
25 25
      *
26
-     * @param  array $attributes
27 26
      * @param        $id
28 27
      * @return mixed
29 28
      */
Please login to merge, or discard this patch.
src/Platfourm/Foundation/Exceptions/Handler.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -93,6 +93,9 @@  discard block
 block discarded – undo
93 93
         return parent::render($request, $e);
94 94
     }
95 95
 
96
+    /**
97
+     * @param \Illuminate\Http\Request $request
98
+     */
96 99
     protected function shouldRenderAsJson($request, Exception $e)
97 100
     {
98 101
         if ($e instanceof ValidationException) {
@@ -102,6 +105,9 @@  discard block
 block discarded – undo
102 105
         return $request->wantsJson();
103 106
     }
104 107
 
108
+    /**
109
+     * @param \Illuminate\Http\Request $request
110
+     */
105 111
     protected function renderAsJson($request, Exception $e)
106 112
     {
107 113
         // Define the response
Please login to merge, or discard this patch.