forked from wallabag/wallabag
Modernize to PHP 8.0
This commit is contained in:
@ -55,7 +55,7 @@ class ReloadEntryCommand extends Command
|
||||
$userId = $this->userRepository
|
||||
->findOneByUserName($username)
|
||||
->getId();
|
||||
} catch (NoResultException $e) {
|
||||
} catch (NoResultException) {
|
||||
$io->error(\sprintf('User "%s" not found.', $username));
|
||||
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user