@@ -139,7 +139,7 @@ |
||
| 139 | 139 | /** |
| 140 | 140 | * Fire field type events. |
| 141 | 141 | * |
| 142 | - * @param $trigger |
|
| 142 | + * @param string $trigger |
|
| 143 | 143 | * @param array $payload |
| 144 | 144 | */ |
| 145 | 145 | public function fireFieldTypeEvents($trigger, $payload = []) |
@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | * Parse the stream. |
| 40 | 40 | * |
| 41 | 41 | * @param StreamInterface $stream |
| 42 | - * @param $string |
|
| 42 | + * @param string $string |
|
| 43 | 43 | */ |
| 44 | 44 | protected function parseStream(StreamInterface $stream, &$string) |
| 45 | 45 | { |
@@ -107,7 +107,7 @@ discard block |
||
| 107 | 107 | * Parse an assignment field. |
| 108 | 108 | * |
| 109 | 109 | * @param FieldInterface $field |
| 110 | - * @param $string |
|
| 110 | + * @param string $string |
|
| 111 | 111 | */ |
| 112 | 112 | protected function parseField(FieldInterface $field, &$string) |
| 113 | 113 | { |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | use Closure; |
| 4 | 4 | use Illuminate\Contracts\Config\Repository; |
| 5 | -use Illuminate\Contracts\Events\Dispatcher; |
|
| 6 | 5 | use Illuminate\Foundation\Application; |
| 7 | 6 | use Illuminate\Http\Request; |
| 8 | 7 | use Illuminate\Routing\Redirector; |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | * |
| 21 | 21 | * @param \Illuminate\Routing\Route $route |
| 22 | 22 | * @param \Illuminate\Http\Request $request |
| 23 | - * @return bool |
|
| 23 | + * @return integer |
|
| 24 | 24 | */ |
| 25 | 25 | public function matches(Route $route, Request $request) |
| 26 | 26 | { |
@@ -240,7 +240,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | { |
@@ -71,7 +71,7 @@ |
||
| 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) |
@@ -147,7 +147,7 @@ |
||
| 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 | { |
@@ -56,7 +56,6 @@ |
||
| 56 | 56 | /** |
| 57 | 57 | * Set the form model object from the builder's model. |
| 58 | 58 | * |
| 59 | - * @param SetDefaultParameters $command |
|
| 60 | 59 | */ |
| 61 | 60 | public function handle() |
| 62 | 61 | { |
@@ -24,7 +24,6 @@ |
||
| 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) |