mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Various code cleanup
This commit is contained in:
@@ -54,7 +54,7 @@ trait RecurrenceValidation
|
||||
if ('invalid' === $transactionType) {
|
||||
app('log')->debug('Type is invalid but we will search for it.');
|
||||
/** @var Recurrence|null $recurrence */
|
||||
$recurrence = $this->route()->parameter('recurrence');
|
||||
$recurrence = $this->route()?->parameter('recurrence');
|
||||
if (null !== $recurrence) {
|
||||
app('log')->debug('There is a recurrence in the route.');
|
||||
// ok so we have a recurrence should be able to extract type somehow.
|
||||
|
Reference in New Issue
Block a user