@@ -161,7 +161,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 | { |
@@ -291,7 +291,7 @@ discard block |
||
291 | 291 | /** |
292 | 292 | * Fire field events. |
293 | 293 | * |
294 | - * @param $trigger |
|
294 | + * @param string $trigger |
|
295 | 295 | * @param array $payload |
296 | 296 | */ |
297 | 297 | public function fireFieldEvents($trigger, array $payload = []) |
@@ -461,7 +461,7 @@ discard block |
||
461 | 461 | /** |
462 | 462 | * Get the entry object. |
463 | 463 | * |
464 | - * @return null|EntryInterface|FieldInterface|mixed |
|
464 | + * @return null|integer |
|
465 | 465 | */ |
466 | 466 | public function getEntry() |
467 | 467 | { |
@@ -702,8 +702,8 @@ discard block |
||
702 | 702 | /** |
703 | 703 | * Get an option value. |
704 | 704 | * |
705 | - * @param $key |
|
706 | - * @param null $default |
|
705 | + * @param string $key |
|
706 | + * @param string $default |
|
707 | 707 | * @return mixed |
708 | 708 | */ |
709 | 709 | public function getOption($key, $default = null) |
@@ -779,8 +779,8 @@ discard block |
||
779 | 779 | /** |
780 | 780 | * Get a form option value. |
781 | 781 | * |
782 | - * @param $key |
|
783 | - * @param null $default |
|
782 | + * @param string $key |
|
783 | + * @param string $default |
|
784 | 784 | * @return mixed |
785 | 785 | */ |
786 | 786 | public function getFormOption($key, $default = null) |
@@ -835,7 +835,7 @@ discard block |
||
835 | 835 | /** |
836 | 836 | * Return the form entry's ID. |
837 | 837 | * |
838 | - * @return int|mixed|null |
|
838 | + * @return null|integer |
|
839 | 839 | */ |
840 | 840 | public function getFormEntryId() |
841 | 841 | { |
@@ -871,7 +871,7 @@ discard block |
||
871 | 871 | /** |
872 | 872 | * Set the form mode. |
873 | 873 | * |
874 | - * @param $mode |
|
874 | + * @param string $mode |
|
875 | 875 | * @return $this |
876 | 876 | */ |
877 | 877 | public function setFormMode($mode) |
@@ -896,7 +896,7 @@ discard block |
||
896 | 896 | /** |
897 | 897 | * Set a form value. |
898 | 898 | * |
899 | - * @param $key |
|
899 | + * @param string $key |
|
900 | 900 | * @param $value |
901 | 901 | * @return $this |
902 | 902 | */ |
@@ -980,7 +980,7 @@ discard block |
||
980 | 980 | /** |
981 | 981 | * Set the form response. |
982 | 982 | * |
983 | - * @param null|false|Response $response |
|
983 | + * @param Response $response |
|
984 | 984 | * @return $this |
985 | 985 | */ |
986 | 986 | public function setFormResponse(Response $response) |
@@ -1052,7 +1052,7 @@ discard block |
||
1052 | 1052 | * Disable a form field. |
1053 | 1053 | * |
1054 | 1054 | * @param $fieldSlug |
1055 | - * @return FieldType |
|
1055 | + * @return Form |
|
1056 | 1056 | */ |
1057 | 1057 | public function disableFormField($fieldSlug) |
1058 | 1058 | { |
@@ -1235,9 +1235,9 @@ discard block |
||
1235 | 1235 | /** |
1236 | 1236 | * Get a request value. |
1237 | 1237 | * |
1238 | - * @param $key |
|
1238 | + * @param string $key |
|
1239 | 1239 | * @param null $default |
1240 | - * @return mixed |
|
1240 | + * @return string |
|
1241 | 1241 | */ |
1242 | 1242 | public function getRequestValue($key, $default = null) |
1243 | 1243 | { |
@@ -1260,8 +1260,7 @@ discard block |
||
1260 | 1260 | * Return a post key flag. |
1261 | 1261 | * |
1262 | 1262 | * @param $key |
1263 | - * @param null $default |
|
1264 | - * @return mixed |
|
1263 | + * @return boolean |
|
1265 | 1264 | */ |
1266 | 1265 | public function hasPostedInput($key) |
1267 | 1266 | { |
@@ -54,7 +54,7 @@ |
||
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 = []) |
@@ -109,7 +109,7 @@ |
||
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 |
@@ -309,7 +309,7 @@ discard block |
||
309 | 309 | /** |
310 | 310 | * Run a macro on the image. |
311 | 311 | * |
312 | - * @param $macro |
|
312 | + * @param string $macro |
|
313 | 313 | * @return Image |
314 | 314 | * @throws \Exception |
315 | 315 | */ |
@@ -434,7 +434,7 @@ discard block |
||
434 | 434 | * |
435 | 435 | * @param null $format |
436 | 436 | * @param int $quality |
437 | - * @return String |
|
437 | + * @return \Intervention\Image\Image |
|
438 | 438 | */ |
439 | 439 | public function encode($format = null, $quality = null) |
440 | 440 | { |
@@ -560,7 +560,7 @@ discard block |
||
560 | 560 | /** |
561 | 561 | * Determine if the image needs to be published |
562 | 562 | * |
563 | - * @param $path |
|
563 | + * @param string $path |
|
564 | 564 | * @return bool |
565 | 565 | */ |
566 | 566 | private function shouldPublish($path) |
@@ -596,7 +596,7 @@ discard block |
||
596 | 596 | /** |
597 | 597 | * Publish an image to the publish directory. |
598 | 598 | * |
599 | - * @param $path |
|
599 | + * @param string $path |
|
600 | 600 | */ |
601 | 601 | protected function publish($path) |
602 | 602 | { |
@@ -663,7 +663,7 @@ discard block |
||
663 | 663 | /** |
664 | 664 | * Return the image srcsets by set. |
665 | 665 | * |
666 | - * @return array |
|
666 | + * @return string |
|
667 | 667 | */ |
668 | 668 | public function srcset() |
669 | 669 | { |
@@ -776,7 +776,7 @@ discard block |
||
776 | 776 | /** |
777 | 777 | * Return if an extension is supported. |
778 | 778 | * |
779 | - * @param $extension |
|
779 | + * @param null|string $extension |
|
780 | 780 | * @return bool |
781 | 781 | */ |
782 | 782 | protected function supportsType($extension) |
@@ -912,7 +912,7 @@ discard block |
||
912 | 912 | /** |
913 | 913 | * Get the image instance. |
914 | 914 | * |
915 | - * @return \Intervention\Image\Image |
|
915 | + * @return null|string |
|
916 | 916 | */ |
917 | 917 | public function getImage() |
918 | 918 | { |
@@ -945,7 +945,7 @@ discard block |
||
945 | 945 | /** |
946 | 946 | * Get the file name. |
947 | 947 | * |
948 | - * @return null|string |
|
948 | + * @return null|boolean |
|
949 | 949 | */ |
950 | 950 | public function getVersion() |
951 | 951 | { |
@@ -1028,7 +1028,7 @@ discard block |
||
1028 | 1028 | /** |
1029 | 1029 | * Add an attribute. |
1030 | 1030 | * |
1031 | - * @param $attribute |
|
1031 | + * @param string $attribute |
|
1032 | 1032 | * @param $value |
1033 | 1033 | * @return $this |
1034 | 1034 | */ |
@@ -1103,7 +1103,7 @@ discard block |
||
1103 | 1103 | /** |
1104 | 1104 | * Set the output mode. |
1105 | 1105 | * |
1106 | - * @param $output |
|
1106 | + * @param string $output |
|
1107 | 1107 | * @return $this |
1108 | 1108 | */ |
1109 | 1109 | public function setOutput($output) |
@@ -1149,7 +1149,7 @@ discard block |
||
1149 | 1149 | /** |
1150 | 1150 | * Add a path by it's namespace hint. |
1151 | 1151 | * |
1152 | - * @param $namespace |
|
1152 | + * @param string $namespace |
|
1153 | 1153 | * @param $path |
1154 | 1154 | * @return $this |
1155 | 1155 | */ |
@@ -111,7 +111,7 @@ discard block |
||
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 |
||
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 |
||
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 | { |
@@ -12,7 +12,7 @@ discard block |
||
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 |
||
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) |
@@ -159,7 +159,6 @@ |
||
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 | { |
@@ -37,7 +37,6 @@ |
||
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 | { |