mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-05 12:12:18 +00:00
Fix some nullable methods.
This commit is contained in:
@@ -61,7 +61,7 @@ abstract class Controller extends BaseController
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected function buildParams(): string
|
||||
final protected function buildParams(): string
|
||||
{
|
||||
$return = '?';
|
||||
$params = [];
|
||||
@@ -83,7 +83,7 @@ abstract class Controller extends BaseController
|
||||
/**
|
||||
* @return Manager
|
||||
*/
|
||||
protected function getManager(): Manager
|
||||
final protected function getManager(): Manager
|
||||
{
|
||||
// create some objects:
|
||||
$manager = new Manager;
|
||||
|
@@ -238,7 +238,7 @@ class RecurrenceController extends Controller
|
||||
$result = $recurring->fire();
|
||||
} catch (FireflyException $e) {
|
||||
Log::error($e->getMessage());
|
||||
throw new FireflyException('200022: Error in cron job.');
|
||||
throw new FireflyException('200022: Error in cron job.',0, $e);
|
||||
}
|
||||
if (false === $result) {
|
||||
return response()->json([], 204);
|
||||
|
Reference in New Issue
Block a user