@@ -14,8 +14,8 @@ |
||
14 | 14 | */ |
15 | 15 | class TaskRepository extends ServiceEntityRepository |
16 | 16 | { |
17 | - public function __construct(ManagerRegistry $registry) |
|
18 | - { |
|
17 | + public function __construct(ManagerRegistry $registry) |
|
18 | + { |
|
19 | 19 | parent::__construct($registry, Task::class); |
20 | - } |
|
20 | + } |
|
21 | 21 | } |
@@ -14,8 +14,8 @@ |
||
14 | 14 | */ |
15 | 15 | class TaskInterationRepository extends ServiceEntityRepository |
16 | 16 | { |
17 | - public function __construct(ManagerRegistry $registry) |
|
18 | - { |
|
17 | + public function __construct(ManagerRegistry $registry) |
|
18 | + { |
|
19 | 19 | parent::__construct($registry, TaskInteration::class); |
20 | - } |
|
20 | + } |
|
21 | 21 | } |
@@ -10,14 +10,14 @@ |
||
10 | 10 | class TaskInterationService |
11 | 11 | { |
12 | 12 | |
13 | - public function __construct( |
|
13 | + public function __construct( |
|
14 | 14 | private EntityManagerInterface $manager, |
15 | 15 | private Security $security |
16 | - ) {} |
|
16 | + ) {} |
|
17 | 17 | |
18 | - public function prePersist(TaskInteration $taskInteration) |
|
19 | - { |
|
18 | + public function prePersist(TaskInteration $taskInteration) |
|
19 | + { |
|
20 | 20 | $taskInteration->setRegisteredBy($this->security->getUser()->getPeople()); |
21 | 21 | return $taskInteration; |
22 | - } |
|
22 | + } |
|
23 | 23 | } |