mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-21 00:50:07 +00:00
Specify return types.
This commit is contained in:
@@ -33,7 +33,7 @@ class SelectTransactionsRequest extends Request
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function authorize()
|
||||
public function authorize(): bool
|
||||
{
|
||||
// Only allow logged in users
|
||||
return auth()->check();
|
||||
@@ -42,7 +42,7 @@ class SelectTransactionsRequest extends Request
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function rules()
|
||||
public function rules(): array
|
||||
{
|
||||
// fixed
|
||||
$sessionFirst = clone session('first');
|
||||
|
||||
Reference in New Issue
Block a user