mirror of
https://github.com/wallabag/wallabag.git
synced 2025-09-15 18:57:05 +00:00
Modernize to PHP 5.5
This commit is contained in:
parent
99a49bfc96
commit
745fef44f4
3 changed files with 4 additions and 2 deletions
|
@ -50,7 +50,7 @@ class UsernameFeedTokenConverter implements ParamConverterInterface
|
|||
$em = $this->registry->getManagerForClass($configuration->getClass());
|
||||
|
||||
// Check, if class name is what we need
|
||||
if (null !== $em && 'Wallabag\Entity\User' !== $em->getClassMetadata($configuration->getClass())->getName()) {
|
||||
if (null !== $em && User::class !== $em->getClassMetadata($configuration->getClass())->getName()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue