@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/nnx-framework/doctrine |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/nnx-framework/doctrine |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace Nnx\Doctrine; |
7 | 7 | |
8 | 8 | use Nnx\Doctrine\ObjectManager\DoctrineObjectManager; |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/nnx-framework/doctrine |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/nnx-framework/doctrine |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace Nnx\Doctrine; |
7 | 7 | |
8 | 8 | use Nnx\Doctrine\ObjectManager\DoctrineObjectManager; |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | * |
42 | 42 | * @var array |
43 | 43 | */ |
44 | - protected $cacheKeys = []; |
|
44 | + protected $cacheKeys = [ ]; |
|
45 | 45 | |
46 | 46 | /** |
47 | 47 | * EntityMapCache constructor. |
@@ -124,15 +124,15 @@ discard block |
||
124 | 124 | public function getCacheKeyForObjectManagerName($objectManagerName) |
125 | 125 | { |
126 | 126 | if (array_key_exists($objectManagerName, $this->cacheKeys)) { |
127 | - return $this->cacheKeys[$objectManagerName]; |
|
127 | + return $this->cacheKeys[ $objectManagerName ]; |
|
128 | 128 | } |
129 | 129 | |
130 | 130 | $preffix = $this->getModuleOptions()->getEntityMapDoctrineCachePrefix(); |
131 | 131 | $key = $preffix . '_' . $objectManagerName; |
132 | 132 | |
133 | - $this->cacheKeys[$objectManagerName] = $key; |
|
133 | + $this->cacheKeys[ $objectManagerName ] = $key; |
|
134 | 134 | |
135 | - return $this->cacheKeys[$objectManagerName]; |
|
135 | + return $this->cacheKeys[ $objectManagerName ]; |
|
136 | 136 | } |
137 | 137 | |
138 | 138 | /** |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/nnx-framework/doctrine |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/nnx-framework/doctrine |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace Nnx\Doctrine; |
7 | 7 | |
8 | 8 | use Nnx\Doctrine\ObjectManager\DoctrineObjectManager; |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/nnx-framework/doctrine |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/nnx-framework/doctrine |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace Nnx\Doctrine; |
7 | 7 | |
8 | 8 | use Nnx\Doctrine\ObjectManager\DoctrineObjectManager; |