More PHP 8 syntactic sugar

This commit is contained in:
Alejandro Celaya
2021-05-23 12:37:53 +02:00
parent c01121d61a
commit 9c6ba4bc61
9 changed files with 27 additions and 12 deletions

View File

@@ -57,7 +57,7 @@ final class Version20180913205455 extends AbstractMigration
try {
return (string) IpAddress::fromString($addr)->getAnonymizedCopy();
} catch (InvalidArgumentException $e) {
} catch (InvalidArgumentException) {
return null;
}
}