Remove JSON exceptions that are not thrown anyway.

This commit is contained in:
James Cole
2023-12-22 07:47:13 +01:00
parent 34e22e0747
commit 58dea55d38
52 changed files with 105 additions and 211 deletions

View File

@@ -49,8 +49,7 @@ class MigrateRecurrenceMeta extends Command
* Execute the console command.
*
* @throws ContainerExceptionInterface
* @throws \JsonException
* @throws NotFoundExceptionInterface
* * @throws NotFoundExceptionInterface
*/
public function handle(): int
{
@@ -88,8 +87,7 @@ class MigrateRecurrenceMeta extends Command
}
/**
* @throws \JsonException
*/
* */
private function migrateMetaData(): int
{
$count = 0;
@@ -105,8 +103,7 @@ class MigrateRecurrenceMeta extends Command
}
/**
* @throws \JsonException
*/
* */
private function migrateEntry(RecurrenceMeta $meta): int
{
/** @var null|Recurrence $recurrence */