mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-09 20:11:22 +00:00
Specify return types.
This commit is contained in:
@@ -33,7 +33,7 @@ class BudgetFormRequest extends Request
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function authorize()
|
||||
public function authorize(): bool
|
||||
{
|
||||
return auth()->check();
|
||||
}
|
||||
@@ -52,7 +52,7 @@ class BudgetFormRequest extends Request
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function rules()
|
||||
public function rules(): array
|
||||
{
|
||||
// fixed
|
||||
/** @var BudgetRepositoryInterface $repository */
|
||||
|
||||
Reference in New Issue
Block a user