Code cleanup as recommended by Mago.

This commit is contained in:
James Cole
2026-03-03 20:33:02 +01:00
parent a352ae54b6
commit 47b02b30ea
334 changed files with 502 additions and 426 deletions

View File

@@ -51,7 +51,7 @@ use InvalidArgumentException;
/**
* Class MassController.
*/
class MassController extends Controller
final class MassController extends Controller
{
private JournalRepositoryInterface $repository;
@@ -180,8 +180,8 @@ class MassController extends Controller
try {
$this->updateJournal($integer, $request);
++$count;
} catch (FireflyException) {
// @ignoreException
} catch (FireflyException $e) {
Log::debug(sprintf('Could not update journal #%d: %s', $integer, $e->getMessage()));
}
}