Completed
Push — master ( b76fd7...f77ca5 )
by Ryan
06:53
created
src/Model/EloquentRepository.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@
 block discarded – undo
158 158
      * Delete a record.
159 159
      *
160 160
      * @param EloquentModel $entry
161
-     * @return bool
161
+     * @return boolean|null
162 162
      */
163 163
     public function delete(EloquentModel $entry)
164 164
     {
Please login to merge, or discard this patch.
src/Stream/StreamModel.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -240,7 +240,7 @@  discard block
 block discarded – undo
240 240
     /**
241 241
      * Get the namespace.
242 242
      *
243
-     * @return mixed
243
+     * @return string
244 244
      */
245 245
     public function getNamespace()
246 246
     {
@@ -250,7 +250,7 @@  discard block
 block discarded – undo
250 250
     /**
251 251
      * Get the slug.
252 252
      *
253
-     * @return mixed
253
+     * @return string
254 254
      */
255 255
     public function getSlug()
256 256
     {
@@ -477,7 +477,7 @@  discard block
 block discarded – undo
477 477
      * Get a stream field by it's slug.
478 478
      *
479 479
      * @param  $slug
480
-     * @return mixed
480
+     * @return null|FieldInterface
481 481
      */
482 482
     public function getField($slug)
483 483
     {
Please login to merge, or discard this patch.
src/Support/Collection.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
      * Return shuffled items.
18 18
      * Preserve the index keys.
19 19
      *
20
-     * @param int $amount
21 20
      * @return static
22 21
      */
23 22
     public function shuffle()
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,5 @@
 block discarded – undo
1 1
 <?php namespace Anomaly\Streams\Platform\Support;
2 2
 
3
-use Illuminate\Contracts\Config\Repository;
4
-
5 3
 /**
6 4
  * Class Collection
7 5
  *
Please login to merge, or discard this patch.
src/Support/Configurator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
      * Add namespace overrides to configuration.
74 74
      *
75 75
      * @param $namespace
76
-     * @param $directory
76
+     * @param string $directory
77 77
      */
78 78
     public function addNamespaceOverrides($namespace, $directory)
79 79
     {
Please login to merge, or discard this patch.
src/Support/Evaluator.php 2 patches
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.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,5 @@
 block discarded – undo
1 1
 <?php namespace Anomaly\Streams\Platform\Support;
2 2
 
3
-use ArrayAccess;
4 3
 use Illuminate\Contracts\Container\Container;
5 4
 
6 5
 /**
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.