mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-05 06:14:59 +00:00
cs: Fix code style (safe rules only).
This commit is contained in:
@@ -1,12 +1,18 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Chill is a software for social workers
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the LICENSE file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Chill\PersonBundle\Repository;
|
||||
|
||||
use Chill\PersonBundle\Entity\MaritalStatus;
|
||||
use Doctrine\ORM\EntityManagerInterface;
|
||||
use Doctrine\ORM\EntityRepository;
|
||||
use Doctrine\Persistence\ObjectRepository;
|
||||
use UnexpectedValueException;
|
||||
|
||||
class MaritalStatusRepository implements ObjectRepository
|
||||
{
|
||||
@@ -16,6 +22,7 @@ class MaritalStatusRepository implements ObjectRepository
|
||||
{
|
||||
$this->repository = $entityManager->getRepository(MaritalStatus::class);
|
||||
}
|
||||
|
||||
public function find($id): ?MaritalStatus
|
||||
{
|
||||
return $this->repository->find($id);
|
||||
|
Reference in New Issue
Block a user