@@ -7,7 +7,6 @@ |
||
| 7 | 7 | use Bankiru\Api\Doctrine\Proxy\ApiCollection; |
| 8 | 8 | use Bankiru\Api\Doctrine\Proxy\ProxyFactory; |
| 9 | 9 | use Bankiru\Api\Doctrine\Utility\IdentifierFixer; |
| 10 | -use Doctrine\Common\Collections\AbstractLazyCollection; |
|
| 11 | 10 | use Doctrine\Common\Persistence\ObjectRepository; |
| 12 | 11 | use Doctrine\Common\Proxy\Proxy; |
| 13 | 12 | |
@@ -3,8 +3,6 @@ |
||
| 3 | 3 | namespace Bankiru\Api\Doctrine; |
| 4 | 4 | |
| 5 | 5 | use Bankiru\Api\Doctrine\Mapping\ApiMetadata; |
| 6 | -use Bankiru\Api\Doctrine\Proxy\ApiCollection; |
|
| 7 | -use Doctrine\Common\Collections\Collection; |
|
| 8 | 6 | use Doctrine\Common\Persistence\ObjectRepository; |
| 9 | 7 | use ScayTrase\Api\Rpc\RpcClientInterface; |
| 10 | 8 | |
@@ -188,6 +188,9 @@ discard block |
||
| 188 | 188 | return $this->snapshot; |
| 189 | 189 | } |
| 190 | 190 | |
| 191 | + /** |
|
| 192 | + * @param boolean $state |
|
| 193 | + */ |
|
| 191 | 194 | public function setInitialized($state) |
| 192 | 195 | { |
| 193 | 196 | $this->initialized = (bool)$state; |
@@ -452,7 +455,7 @@ discard block |
||
| 452 | 455 | * Internal note: Tried to implement Serializable first but that did not work well |
| 453 | 456 | * with circular references. This solution seems simpler and works well. |
| 454 | 457 | * |
| 455 | - * @return array |
|
| 458 | + * @return string[] |
|
| 456 | 459 | */ |
| 457 | 460 | public function __sleep() |
| 458 | 461 | { |
@@ -3,8 +3,6 @@ |
||
| 3 | 3 | namespace Bankiru\Api\Doctrine\Rpc; |
| 4 | 4 | |
| 5 | 5 | use Bankiru\Api\Doctrine\EntityDataCacheInterface; |
| 6 | -use Bankiru\Api\Doctrine\Mapping\ApiMetadata; |
|
| 7 | -use ScayTrase\Api\Rpc\RpcClientInterface; |
|
| 8 | 6 | |
| 9 | 7 | final class CachedFinder implements Finder |
| 10 | 8 | { |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | private $clients = []; |
| 29 | 29 | |
| 30 | 30 | /** |
| 31 | - * @return mixed |
|
| 31 | + * @return ClientRegistryInterface |
|
| 32 | 32 | */ |
| 33 | 33 | public function getRegistry() |
| 34 | 34 | { |
@@ -167,7 +167,7 @@ |
||
| 167 | 167 | } |
| 168 | 168 | |
| 169 | 169 | /** |
| 170 | - * @param $className |
|
| 170 | + * @param string $className |
|
| 171 | 171 | * @param \stdClass $data |
| 172 | 172 | * |
| 173 | 173 | * @return ObjectManagerAware|object |