Completed
Pull Request — master (#389)
by
unknown
06:38
created
src/Database/Migration/Migrator.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -211,7 +211,6 @@
 block discarded – undo
211 211
     /**
212 212
      * Clear the addon.
213 213
      *
214
-     * @param Addon $addon
215 214
      */
216 215
     public function clearAddon()
217 216
     {
Please login to merge, or discard this patch.
src/Entry/EntryObserver.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
     /**
115 115
      * Run before a record is deleted.
116 116
      *
117
-     * @param  EntryInterface|EloquentModel $entry
117
+     * @param  EntryInterface $entry
118 118
      * @return bool
119 119
      */
120 120
     public function deleting(EntryInterface $entry)
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
     /**
155 155
      * Fired just before restoring.
156 156
      *
157
-     * @param EntryInterface|EloquentModel $entry
157
+     * @param EntryInterface $entry
158 158
      */
159 159
     public function restoring(EntryInterface $entry)
160 160
     {
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
     /**
165 165
      * Run after a record has been restored.
166 166
      *
167
-     * @param EntryInterface|EloquentModel $entry
167
+     * @param EntryInterface $entry
168 168
      */
169 169
     public function restored(EntryInterface $entry)
170 170
     {
Please login to merge, or discard this patch.
src/Ui/Form/Form.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
     /**
162 162
      * Set the form response.
163 163
      *
164
-     * @param  null|false|Response $response
164
+     * @param  Response $response
165 165
      * @return $this
166 166
      */
167 167
     public function setResponse(Response $response)
@@ -309,7 +309,7 @@  discard block
 block discarded – undo
309 309
     /**
310 310
      * Get the form content.
311 311
      *
312
-     * @return null|View
312
+     * @return null|string
313 313
      */
314 314
     public function getContent()
315 315
     {
@@ -429,7 +429,7 @@  discard block
 block discarded – undo
429 429
      * Get an option value.
430 430
      *
431 431
      * @param        $key
432
-     * @param  null  $default
432
+     * @param  string|null  $default
433 433
      * @return mixed
434 434
      */
435 435
     public function getOption($key, $default = null)
@@ -552,7 +552,7 @@  discard block
 block discarded – undo
552 552
      * Get a form field.
553 553
      *
554 554
      * @param $field
555
-     * @return FieldType|mixed
555
+     * @return FieldType
556 556
      */
557 557
     public function getField($field)
558 558
     {
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
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
      *
55 55
      * @param             $template
56 56
      * @param  array      $payload
57
-     * @return string
57
+     * @return \Illuminate\Contracts\View\View
58 58
      * @throws \Exception
59 59
      */
60 60
     public function render($template, array $payload = [])
Please login to merge, or discard this patch.
src/Addon/AddonIntegrator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
      * Register an addon.
110 110
      *
111 111
      * @param         $path
112
-     * @param         $namespace
112
+     * @param         string $namespace
113 113
      * @param boolean $enabled
114 114
      * @param boolean $installed
115 115
      * @return Addon|Extension|Module|Twig_ExtensionInterface
Please login to merge, or discard this patch.
src/Model/EloquentQueryBuilder.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
     /**
112 112
      * Index cache collection
113 113
      *
114
-     * @return object
114
+     * @return EloquentQueryBuilder
115 115
      */
116 116
     protected function indexCacheCollection()
117 117
     {
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
      * Drop a cache collection
128 128
      * from runtime cache.
129 129
      *
130
-     * @param $collection
130
+     * @param string $collection
131 131
      */
132 132
     public static function dropRuntimeCache($collection)
133 133
     {
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
      * Get fresh models / disable cache
164 164
      *
165 165
      * @param  boolean $fresh
166
-     * @return object
166
+     * @return EloquentQueryBuilder
167 167
      */
168 168
     public function fresh($fresh = true)
169 169
     {
Please login to merge, or discard this patch.
src/Support/_helpers.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
     /**
13 13
      * Humanize the string.
14 14
      *
15
-     * @param        $target
15
+     * @param        string $target
16 16
      * @param string $separator
17 17
      * @return string
18 18
      */
@@ -75,8 +75,8 @@  discard block
 block discarded – undo
75 75
      * Get an item from an array or object using "dot" notation.
76 76
      *
77 77
      * @param  mixed        $target
78
-     * @param  string|array $key
79
-     * @param  mixed        $default
78
+     * @param  string $key
79
+     * @param  string        $default
80 80
      * @return mixed
81 81
      */
82 82
     function data($target, $key, $default = null)
Please login to merge, or discard this patch.
src/Addon/Module/ModuleCollection.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -159,7 +159,6 @@
 block discarded – undo
159 159
     /**
160 160
      * Set the installed and enabled states.
161 161
      *
162
-     * @param array $installed
163 162
      */
164 163
     public function setStates(array $states)
165 164
     {
Please login to merge, or discard this patch.
src/Asset/Command/LoadThemeVariables.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,6 @@
 block discarded – undo
37 37
     /**
38 38
      * Create a new ThemeVariablesHaveLoaded instance.
39 39
      *
40
-     * @param ThemeCollection $themes
41 40
      */
42 41
     public function __construct(Collection $variables)
43 42
     {
Please login to merge, or discard this patch.