Completed
Pull Request — master (#389)
by
unknown
06:38
created
src/Search/SearchCriteria.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 the paginated entries.
43 43
      *
44
-     * @return Collection
44
+     * @return Paginator
45 45
      */
46 46
     public function paginate($perPage = 15, $pageName = 'page', $page = null)
47 47
     {
Please login to merge, or discard this patch.
src/Support/Currency.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@
 block discarded – undo
103 103
     /**
104 104
      * Return the currency symbol.
105 105
      *
106
-     * @param null $currency
106
+     * @param string $currency
107 107
      * @return string
108 108
      */
109 109
     public function symbol($currency = null)
Please login to merge, or discard this patch.
src/Support/Html.php 1 patch
Doc Comments   +5 added lines, -10 removed lines patch added patch discarded remove patch
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
     /**
179 179
      * Close the current form.
180 180
      *
181
-     * @return string
181
+     * @return HtmlString
182 182
      */
183 183
     public function close()
184 184
     {
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
     /**
193 193
      * Generate a hidden field with the current CSRF token.
194 194
      *
195
-     * @return string
195
+     * @return HtmlString
196 196
      */
197 197
     public function token()
198 198
     {
@@ -591,11 +591,6 @@  discard block
 block discarded – undo
591 591
     /**
592 592
      * Create a select year field.
593 593
      *
594
-     * @param string $name
595
-     * @param string $begin
596
-     * @param string $end
597
-     * @param string $selected
598
-     * @param array  $options
599 594
      *
600 595
      * @return mixed
601 596
      */
@@ -684,7 +679,7 @@  discard block
 block discarded – undo
684 679
     /**
685 680
      * Create a placeholder select element option.
686 681
      *
687
-     * @param $display
682
+     * @param string $display
688 683
      * @param $selected
689 684
      *
690 685
      * @return \Illuminate\Support\HtmlString
@@ -720,7 +715,7 @@  discard block
 block discarded – undo
720 715
      * Create a checkbox input field.
721 716
      *
722 717
      * @param string $name
723
-     * @param mixed  $value
718
+     * @param integer  $value
724 719
      * @param bool   $checked
725 720
      * @param array  $options
726 721
      *
@@ -1140,7 +1135,7 @@  discard block
 block discarded – undo
1140 1135
      *
1141 1136
      * @param string $key
1142 1137
      *
1143
-     * @return mixed
1138
+     * @return string
1144 1139
      */
1145 1140
     protected function transformKey($key)
1146 1141
     {
Please login to merge, or discard this patch.
src/Traits/FiresCallbacks.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
     /**
66 66
      * Fire a set of closures by trigger.
67 67
      *
68
-     * @param        $trigger
68
+     * @param        string $trigger
69 69
      * @param  array $parameters
70 70
      * @return $this
71 71
      */
Please login to merge, or discard this patch.
src/Ui/Command/GetTranslatedString.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,6 @@
 block discarded – undo
50 50
     /**
51 51
      * Handle the command.
52 52
      *
53
-     * @param  Translator $translator
54 53
      * @return string
55 54
      */
56 55
     public function handle()
Please login to merge, or discard this patch.
src/Ui/Form/FormFactory.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,7 +32,6 @@  discard block
 block discarded – undo
32 32
     /**
33 33
      * Make the form.
34 34
      *
35
-     * @param  null         $builder
36 35
      * @param  array        $parameters
37 36
      * @return FormCriteria
38 37
      */
@@ -59,7 +58,7 @@  discard block
 block discarded – undo
59 58
 
60 59
     /**
61 60
      * @param  array $parameters
62
-     * @return array
61
+     * @return string
63 62
      */
64 63
     protected function resolve(array $parameters)
65 64
     {
Please login to merge, or discard this patch.
src/Ui/Table/Component/Header/Header.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
      * Get the current direction
96 96
      * defaulting to ascending.
97 97
      *
98
-     * @param  null        $default
98
+     * @param  string        $default
99 99
      * @return string|null
100 100
      */
101 101
     public function getDirection($default = null)
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
     /**
138 138
      * Get the header heading.
139 139
      *
140
-     * @return mixed
140
+     * @return string
141 141
      */
142 142
     public function getHeading()
143 143
     {
Please login to merge, or discard this patch.
src/Ui/Table/Table.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -387,7 +387,7 @@
 block discarded – undo
387 387
      * Get an option value.
388 388
      *
389 389
      * @param        $key
390
-     * @param  null  $default
390
+     * @param  integer|null  $default
391 391
      * @return mixed
392 392
      */
393 393
     public function getOption($key, $default = null)
Please login to merge, or discard this patch.
src/Ui/Table/TableRepository.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     /**
22 22
      * Create a new EloquentModel instance.
23 23
      *
24
-     * @param EloquentModel $model
24
+     * @param Model $model
25 25
      */
26 26
     public function __construct(Model $model)
27 27
     {
Please login to merge, or discard this patch.