@@ -211,7 +211,6 @@ |
||
| 211 | 211 | /** |
| 212 | 212 | * Clear the addon. |
| 213 | 213 | * |
| 214 | - * @param Addon $addon |
|
| 215 | 214 | */ |
| 216 | 215 | public function clearAddon() |
| 217 | 216 | { |
@@ -114,7 +114,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | { |
@@ -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 | { |
@@ -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 |
@@ -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 | { |