@@ -12,7 +12,7 @@ discard block |
||
| 12 | 12 | * |
| 13 | 13 | * @param $permission |
| 14 | 14 | * |
| 15 | - * @return true |
|
| 15 | + * @return boolean|null |
|
| 16 | 16 | */ |
| 17 | 17 | public static function check($permission) |
| 18 | 18 | { |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | * |
| 31 | 31 | * @param $roles |
| 32 | 32 | * |
| 33 | - * @return true |
|
| 33 | + * @return boolean|null |
|
| 34 | 34 | */ |
| 35 | 35 | public static function allow($roles) |
| 36 | 36 | { |
@@ -48,7 +48,7 @@ discard block |
||
| 48 | 48 | * |
| 49 | 49 | * @param $roles |
| 50 | 50 | * |
| 51 | - * @return true |
|
| 51 | + * @return boolean|null |
|
| 52 | 52 | */ |
| 53 | 53 | public static function deny($roles) |
| 54 | 54 | { |
@@ -248,7 +248,7 @@ discard block |
||
| 248 | 248 | /** |
| 249 | 249 | * Get or set rules. |
| 250 | 250 | * |
| 251 | - * @param null $rules |
|
| 251 | + * @param string $rules |
|
| 252 | 252 | * |
| 253 | 253 | * @return $this |
| 254 | 254 | */ |
@@ -268,7 +268,7 @@ discard block |
||
| 268 | 268 | /** |
| 269 | 269 | * Set or get value of the field. |
| 270 | 270 | * |
| 271 | - * @param null $value |
|
| 271 | + * @param string $value |
|
| 272 | 272 | * |
| 273 | 273 | * @return mixed |
| 274 | 274 | */ |
@@ -5,7 +5,6 @@ |
||
| 5 | 5 | use Encore\Admin\Admin; |
| 6 | 6 | use Encore\Admin\Form; |
| 7 | 7 | use Illuminate\Contracts\Support\Arrayable; |
| 8 | -use Illuminate\Support\Facades\Input; |
|
| 9 | 8 | |
| 10 | 9 | /** |
| 11 | 10 | * Class Field. |
@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | /** |
| 42 | 42 | * Set box content. |
| 43 | 43 | * |
| 44 | - * @param $content |
|
| 44 | + * @param string $content |
|
| 45 | 45 | * |
| 46 | 46 | * @return $this |
| 47 | 47 | */ |
@@ -95,7 +95,7 @@ discard block |
||
| 95 | 95 | /** |
| 96 | 96 | * Set box style. |
| 97 | 97 | * |
| 98 | - * @param $styles |
|
| 98 | + * @param string $styles |
|
| 99 | 99 | * |
| 100 | 100 | * @return $this|Box |
| 101 | 101 | */ |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | /** |
| 25 | 25 | * Callout constructor. |
| 26 | 26 | * |
| 27 | - * @param $content |
|
| 27 | + * @param string $content |
|
| 28 | 28 | * @param string $title |
| 29 | 29 | * @param string $style |
| 30 | 30 | */ |