mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-08 18:58:07 +00:00
Specify return types.
This commit is contained in:
@@ -32,7 +32,7 @@ class RuleGroupFormRequest extends Request
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function authorize()
|
||||
public function authorize(): bool
|
||||
{
|
||||
// Only allow logged in users
|
||||
return auth()->check();
|
||||
@@ -52,7 +52,7 @@ class RuleGroupFormRequest extends Request
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function rules()
|
||||
public function rules(): array
|
||||
{
|
||||
// fixed
|
||||
/** @var RuleGroupRepositoryInterface $repository */
|
||||
|
||||
Reference in New Issue
Block a user