Completed
Pull Request — master (#215)
by bloveless
07:29
created
src/Ui/Command/GetTranslatedString.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,6 @@
 block discarded – undo
52 52
     /**
53 53
      * Handle the command.
54 54
      *
55
-     * @param Translator $translator
56 55
      * @return string
57 56
      */
58 57
     public function handle()
Please login to merge, or discard this patch.
src/Ui/ControlPanel/Component/Section/Contract/SectionInterface.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
     /**
127 127
      * Set the highlighted flag.
128 128
      *
129
-     * @param boolean $active
129
+     * @param boolean $highlighted
130 130
      * @return $this
131 131
      */
132 132
     public function setHighlighted($highlighted);
@@ -157,6 +157,7 @@  discard block
 block discarded – undo
157 157
      * Set the buttons.
158 158
      *
159 159
      * @param array|string $buttons
160
+     * @return void
160 161
      */
161 162
     public function setButtons($buttons);
162 163
 
@@ -171,6 +172,7 @@  discard block
 block discarded – undo
171 172
      * Set the attributes.
172 173
      *
173 174
      * @param array $attributes
175
+     * @return void
174 176
      */
175 177
     public function setAttributes(array $attributes);
176 178
 
Please login to merge, or discard this patch.
src/Ui/ControlPanel/Component/Section/Section.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -275,7 +275,6 @@
 block discarded – undo
275 275
     /**
276 276
      * Set the highlighted flag.
277 277
      *
278
-     * @param boolean $active
279 278
      * @return $this
280 279
      */
281 280
     public function setHighlighted($highlighted)
Please login to merge, or discard this patch.
src/Ui/ControlPanel/Component/Section/SectionFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
      * Make the section from it's parameters.
51 51
      *
52 52
      * @param array $parameters
53
-     * @return mixed
53
+     * @return Contract\SectionInterface
54 54
      */
55 55
     public function make(array $parameters)
56 56
     {
Please login to merge, or discard this patch.
src/Ui/Form/Form.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
     /**
163 163
      * Set the form response.
164 164
      *
165
-     * @param null|false|Response $response
165
+     * @param Response $response
166 166
      * @return $this
167 167
      */
168 168
     public function setResponse(Response $response)
@@ -310,7 +310,7 @@  discard block
 block discarded – undo
310 310
     /**
311 311
      * Get the form content.
312 312
      *
313
-     * @return null|View
313
+     * @return null|string
314 314
      */
315 315
     public function getContent()
316 316
     {
@@ -430,7 +430,7 @@  discard block
 block discarded – undo
430 430
      * Get an option value.
431 431
      *
432 432
      * @param      $key
433
-     * @param null $default
433
+     * @param string|null $default
434 434
      * @return mixed
435 435
      */
436 436
     public function getOption($key, $default = null)
@@ -553,7 +553,7 @@  discard block
 block discarded – undo
553 553
      * Get a form field.
554 554
      *
555 555
      * @param $fieldSlug
556
-     * @return FieldType|mixed
556
+     * @return FieldType
557 557
      */
558 558
     public function getField($fieldSlug)
559 559
     {
@@ -563,7 +563,7 @@  discard block
 block discarded – undo
563 563
     /**
564 564
      * Add data to the view data collection.
565 565
      *
566
-     * @param $key
566
+     * @param string $key
567 567
      * @param $value
568 568
      * @return $this
569 569
      */
Please login to merge, or discard this patch.
src/Ui/Form/FormAuthorizer.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,6 @@
 block discarded – undo
24 24
     /**
25 25
      * Create a new FormAuthorizer instance.
26 26
      *
27
-     * @param ModuleCollection $modules
28 27
      * @param Authorizer       $authorizer
29 28
      */
30 29
     public function __construct(Authorizer $authorizer)
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
@@ -33,7 +33,6 @@  discard block
 block discarded – undo
33 33
     /**
34 34
      * Make the form.
35 35
      *
36
-     * @param null  $builder
37 36
      * @param array $parameters
38 37
      * @return FormCriteria
39 38
      */
@@ -60,7 +59,7 @@  discard block
 block discarded – undo
60 59
 
61 60
     /**
62 61
      * @param array $parameters
63
-     * @return array
62
+     * @return string
64 63
      */
65 64
     protected function resolve(array $parameters)
66 65
     {
Please login to merge, or discard this patch.
src/Ui/Icon/Icon.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
     /**
47 47
      * Set the type.
48 48
      *
49
-     * @param $type
49
+     * @param string $type
50 50
      * @return $this
51 51
      */
52 52
     public function setType($type)
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
     /**
70 70
      * Set the class.
71 71
      *
72
-     * @param $class
72
+     * @param string $class
73 73
      * @return $this
74 74
      */
75 75
     public function setClass($class)
Please login to merge, or discard this patch.
src/Ui/Table/Command/SetDefaultParameters.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,6 @@
 block discarded – undo
53 53
     /**
54 54
      * Set the table model object from the builder's model.
55 55
      *
56
-     * @param SetDefaultParameters $command
57 56
      */
58 57
     public function handle()
59 58
     {
Please login to merge, or discard this patch.