Completed
Push — master ( 6fd11a...046d0e )
by Avtandil
03:10
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/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.
src/Platfourm/Repository/Eloquent/BaseRepository.php 1 patch
Doc Comments   +9 added lines, -1 removed lines patch added patch discarded remove patch
@@ -175,7 +175,6 @@  discard block
 block discarded – undo
175 175
     /**
176 176
      * Retrieve count of records.
177 177
      *
178
-     * @param  array $columns
179 178
      * @return mixed
180 179
      */
181 180
     public function count()
@@ -296,6 +295,9 @@  discard block
 block discarded – undo
296 295
         return $this->parserResult($results);
297 296
     }
298 297
 
298
+    /**
299
+     * @param string $columns
300
+     */
299 301
     protected function parseColumns($columns)
300 302
     {
301 303
         if ($columns == '*') {
@@ -305,6 +307,9 @@  discard block
 block discarded – undo
305 307
         return explode(',', $columns);
306 308
     }
307 309
 
310
+    /**
311
+     * @param Model $model
312
+     */
308 313
     protected function setWheres($model, array $options = null)
309 314
     {
310 315
 
@@ -401,6 +406,9 @@  discard block
 block discarded – undo
401 406
         return $this->parserResult($results);
402 407
     }
403 408
 
409
+    /**
410
+     * @param string $sortBy
411
+     */
404 412
     protected function parseSortByString($sortBy)
405 413
     {
406 414
         $sortBy = explode(',', $sortBy);
Please login to merge, or discard this patch.
src/Platfourm/Repository/Helpers/CacheKeys.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,8 +18,8 @@
 block discarded – undo
18 18
     protected static $keys = null;
19 19
 
20 20
     /**
21
-     * @param $group
22
-     * @param $key
21
+     * @param string $group
22
+     * @param string $key
23 23
      *
24 24
      * @return void
25 25
      */
Please login to merge, or discard this patch.
src/Platfourm/Repository/Presenter/FractalPresenter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@
 block discarded – undo
140 140
     }
141 141
 
142 142
     /**
143
-     * @param $data
143
+     * @param EloquentCollection $data
144 144
      *
145 145
      * @return \League\Fractal\Resource\Collection
146 146
      */
Please login to merge, or discard this patch.
src/Platfourm/Repository/Traits/CacheableRepository.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     }
77 77
 
78 78
     /**
79
-     * @param $method
79
+     * @param string $method
80 80
      *
81 81
      * @return bool
82 82
      */
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
     /**
110 110
      * Get Cache key for the method.
111 111
      *
112
-     * @param $method
112
+     * @param string $method
113 113
      * @param $args
114 114
      *
115 115
      * @return string
Please login to merge, or discard this patch.