Completed
Pull Request — master (#3979)
by
unknown
07:34
created
src/Grid/Filter/Presenter/Select.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -303,7 +303,7 @@
 block discarded – undo
303 303
      *
304 304
      * @param string $target
305 305
      *
306
-     * @return mixed
306
+     * @return string
307 307
      */
308 308
     protected function getClass($target) : string
309 309
     {
Please login to merge, or discard this patch.
src/Grid/Model.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -488,7 +488,7 @@  discard block
 block discarded – undo
488 488
     /**
489 489
      * Resolve perPage for pagination.
490 490
      *
491
-     * @param array|null $paginate
491
+     * @param Model $paginate
492 492
      *
493 493
      * @return array
494 494
      */
@@ -518,7 +518,7 @@  discard block
 block discarded – undo
518 518
     /**
519 519
      * Find query by method name.
520 520
      *
521
-     * @param $method
521
+     * @param string $method
522 522
      *
523 523
      * @return static
524 524
      */
Please login to merge, or discard this patch.
src/Grid/Tools/BatchActions.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
     /**
72 72
      * Add a batch action.
73 73
      *
74
-     * @param $title
74
+     * @param BatchDelete $title
75 75
      * @param BatchAction|null $action
76 76
      *
77 77
      * @return $this
Please login to merge, or discard this patch.
src/Grid/Tools/Paginator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
     /**
42 42
      * Get Pagination links.
43 43
      *
44
-     * @return string
44
+     * @return \Illuminate\Contracts\View\View
45 45
      */
46 46
     protected function paginationLinks()
47 47
     {
Please login to merge, or discard this patch.
src/Grid/Tools/QuickCreate.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -34,6 +34,9 @@
 block discarded – undo
34 34
         $this->fields = Collection::make();
35 35
     }
36 36
 
37
+    /**
38
+     * @param string $placeholder
39
+     */
37 40
     protected function formatPlaceholder($placeholder)
38 41
     {
39 42
         return array_filter((array) $placeholder);
Please login to merge, or discard this patch.
src/Grid/Tools/Selector.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
      * @param string $column
58 58
      * @param string $label
59 59
      * @param array  $options
60
-     * @param null   $query
60
+     * @param null|\Closure   $query
61 61
      * @param string $type
62 62
      *
63 63
      * @return $this
Please login to merge, or discard this patch.
src/helpers.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -161,7 +161,7 @@
 block discarded – undo
161 161
      * @param array  $replace
162 162
      * @param string $locale
163 163
      *
164
-     * @return \Illuminate\Contracts\Translation\Translator|string|array|null
164
+     * @return string|null
165 165
      */
166 166
     function admin_trans($key = null, $replace = [], $locale = null)
167 167
     {
Please login to merge, or discard this patch.
src/Show.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -374,7 +374,7 @@
 block discarded – undo
374 374
      * @param string $method
375 375
      * @param array  $arguments
376 376
      *
377
-     * @return bool|mixed
377
+     * @return Field
378 378
      */
379 379
     public function __call($method, $arguments = [])
380 380
     {
Please login to merge, or discard this patch.
src/Show/Field.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
     /**
137 137
      * Get name of this column.
138 138
      *
139
-     * @return mixed
139
+     * @return string
140 140
      */
141 141
     public function getName()
142 142
     {
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
     /**
161 161
      * Get label of the column.
162 162
      *
163
-     * @return mixed
163
+     * @return string
164 164
      */
165 165
     public function getLabel()
166 166
     {
Please login to merge, or discard this patch.