@@ -8,7 +8,6 @@ |
||
8 | 8 | use Doctrine\ODM\PHPCR\DocumentManagerInterface; |
9 | 9 | use Doctrine\Common\Util\ClassUtils; |
10 | 10 | use Psi\Component\ObjectAgent\Exception\ObjectNotFound; |
11 | -use Psi\Component\ObjectAgent\Agent\Doctrine\Event\PhpcrOdmObjectEvent; |
|
12 | 11 | use Psi\Component\ObjectAgent\Agent\Doctrine\Event\ObjectEvent; |
13 | 12 | use Symfony\Component\EventDispatcher\EventDispatcherInterface; |
14 | 13 | use Psi\Component\ObjectAgent\Events; |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Psi\Bridge\ObjectAgent\Doctrine\PhpcrOdm; |
6 | 6 |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Psi\Component\ObjectAgent\Query; |
6 | 6 | |
@@ -11,7 +11,7 @@ discard block |
||
11 | 11 | public function __construct(array $expressions) |
12 | 12 | { |
13 | 13 | // ensure types |
14 | - array_map(function (Expression $expr) { |
|
14 | + array_map(function(Expression $expr) { |
|
15 | 15 | }, $expressions); |
16 | 16 | |
17 | 17 | $this->expressions = $expressions; |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Psi\Component\ObjectAgent\Query; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Psi\Component\ObjectAgent; |
6 | 6 |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Psi\Component\ObjectAgent; |
6 | 6 | |
@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | } |
22 | 22 | } |
23 | 23 | |
24 | - $classes = array_map(function ($element) { |
|
24 | + $classes = array_map(function($element) { |
|
25 | 25 | return get_class($element); |
26 | 26 | }, $this->agents); |
27 | 27 |