Completed
Pull Request — master (#190)
by bloveless
08:27
created
src/Support/Evaluator.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
      * Check if a string is in a traversable format.
73 73
      *
74
-     * @param  $target
74
+     * @param  string $target
75 75
      * @return bool
76 76
      */
77 77
     protected function isTraversable($target)
Please login to merge, or discard this patch.
src/Support/Template.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
     /**
54 54
      * Render a string template.
55 55
      *
56
-     * @param       $template
56
+     * @param       string $template
57 57
      * @param array $payload
58 58
      * @return string
59 59
      * @throws \Exception
Please login to merge, or discard this patch.
src/Ui/Button/Button.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -147,7 +147,7 @@
 block discarded – undo
147 147
     /**
148 148
      * Get the dropdown position.
149 149
      *
150
-     * @return array
150
+     * @return string
151 151
      */
152 152
     public function getPosition()
153 153
     {
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
@@ -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.