mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 20:43:25 +00:00
Coding standards
This commit is contained in:
@@ -50,7 +50,7 @@ class UsrListOwnerRepository extends EntityRepository
|
||||
$dql = 'SELECT o FROM Entities\UsrListOwner o
|
||||
JOIN o.list l
|
||||
WHERE l.id = :list_id AND o.usr_id = :usr_id';
|
||||
|
||||
|
||||
$params = array(
|
||||
'usr_id' => $usr_id,
|
||||
'list_id' => $list->getId()
|
||||
@@ -60,7 +60,7 @@ class UsrListOwnerRepository extends EntityRepository
|
||||
$query->setParameters($params);
|
||||
|
||||
$owner = $query->getSingleResult();
|
||||
|
||||
|
||||
/* @var $owner \Entities\UsrListOwner */
|
||||
if (null === $owner)
|
||||
{
|
||||
|
Reference in New Issue
Block a user