Completed
Pull Request — master (#3979)
by
unknown
07:34
created
src/Controllers/PermissionController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@
 block discarded – undo
143 143
     /**
144 144
      * Get options of HTTP methods select field.
145 145
      *
146
-     * @return array
146
+     * @return callable
147 147
      */
148 148
     protected function getHttpMethodsOptions()
149 149
     {
Please login to merge, or discard this patch.
src/Extension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -391,7 +391,7 @@
 block discarded – undo
391 391
      *
392 392
      * @param       $name
393 393
      * @param       $slug
394
-     * @param       $path
394
+     * @param       string $path
395 395
      * @param array $methods
396 396
      */
397 397
     protected static function createPermission($name, $slug, $path, $methods = [])
Please login to merge, or discard this patch.
src/Form.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -515,7 +515,7 @@  discard block
 block discarded – undo
515 515
      *
516 516
      * @param array $data
517 517
      *
518
-     * @return mixed
518
+     * @return Response|null
519 519
      */
520 520
     protected function prepare($data = [])
521 521
     {
@@ -658,7 +658,7 @@  discard block
 block discarded – undo
658 658
     /**
659 659
      * Get RedirectResponse after update.
660 660
      *
661
-     * @param mixed $key
661
+     * @param integer $key
662 662
      *
663 663
      * @return \Illuminate\Http\RedirectResponse
664 664
      */
Please login to merge, or discard this patch.
src/Form/Builder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -163,7 +163,7 @@
 block discarded – undo
163 163
     /**
164 164
      * Returns builder is $mode.
165 165
      *
166
-     * @param $mode
166
+     * @param string $mode
167 167
      *
168 168
      * @return bool
169 169
      */
Please login to merge, or discard this patch.
src/Form/Field.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -281,7 +281,7 @@  discard block
 block discarded – undo
281 281
      *
282 282
      * @param string $column
283 283
      *
284
-     * @return mixed|string
284
+     * @return string
285 285
      */
286 286
     protected function formatColumn($column = '')
287 287
     {
@@ -569,7 +569,7 @@  discard block
 block discarded – undo
569 569
     }
570 570
 
571 571
     /**
572
-     * @param string|array|Closure $input
572
+     * @param callable|null $input
573 573
      * @param string|array         $original
574 574
      *
575 575
      * @return array|Closure
@@ -780,7 +780,7 @@  discard block
 block discarded – undo
780 780
     /**
781 781
      * Set or get value of the field.
782 782
      *
783
-     * @param null $value
783
+     * @param string $value
784 784
      *
785 785
      * @return mixed
786 786
      */
@@ -951,7 +951,7 @@  discard block
 block discarded – undo
951 951
     /**
952 952
      * Add html attributes to elements.
953 953
      *
954
-     * @param array|string $attribute
954
+     * @param string $attribute
955 955
      * @param mixed        $value
956 956
      *
957 957
      * @return $this
@@ -1315,7 +1315,7 @@  discard block
 block discarded – undo
1315 1315
     }
1316 1316
 
1317 1317
     /**
1318
-     * @param array $labelClass
1318
+     * @param string[] $labelClass
1319 1319
      *
1320 1320
      * @return self
1321 1321
      */
@@ -1370,7 +1370,7 @@  discard block
 block discarded – undo
1370 1370
      *
1371 1371
      * @param string $view
1372 1372
      *
1373
-     * @return string
1373
+     * @return Field
1374 1374
      */
1375 1375
     public function setView($view)
1376 1376
     {
Please login to merge, or discard this patch.
src/Form/Field/Checkbox.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
      *
24 24
      * @param array|callable|string $options
25 25
      *
26
-     * @return $this|mixed
26
+     * @return Checkbox
27 27
      */
28 28
     public function options($options = [])
29 29
     {
Please login to merge, or discard this patch.
src/Form/Field/Date.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -15,6 +15,9 @@
 block discarded – undo
15 15
 
16 16
     protected $format = 'YYYY-MM-DD';
17 17
 
18
+    /**
19
+     * @param string $format
20
+     */
18 21
     public function format($format)
19 22
     {
20 23
         $this->format = $format;
Please login to merge, or discard this patch.
src/Form/Field/ImageField.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
      *
39 39
      * @param string $target
40 40
      *
41
-     * @return mixed
41
+     * @return string
42 42
      */
43 43
     public function callInterventionMethods($target)
44 44
     {
Please login to merge, or discard this patch.
src/Form/Field/PlainInput.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -8,6 +8,9 @@  discard block
 block discarded – undo
8 8
 
9 9
     protected $append;
10 10
 
11
+    /**
12
+     * @param string $string
13
+     */
11 14
     public function prepend($string)
12 15
     {
13 16
         if (is_null($this->prepend)) {
@@ -17,6 +20,9 @@  discard block
 block discarded – undo
17 20
         return $this;
18 21
     }
19 22
 
23
+    /**
24
+     * @param string $string
25
+     */
20 26
     public function append($string)
21 27
     {
22 28
         if (is_null($this->append)) {
@@ -33,6 +39,9 @@  discard block
 block discarded – undo
33 39
         }
34 40
     }
35 41
 
42
+    /**
43
+     * @param string $attribute
44
+     */
36 45
     protected function defaultAttribute($attribute, $value)
37 46
     {
38 47
         if (!array_key_exists($attribute, $this->attributes)) {
Please login to merge, or discard this patch.