@@ -76,7 +76,7 @@ discard block |
||
| 76 | 76 | |
| 77 | 77 | /** |
| 78 | 78 | * @param $name |
| 79 | - * @return AbstractRepository |
|
| 79 | + * @return \ProxyManager\Proxy\VirtualProxyInterface |
|
| 80 | 80 | */ |
| 81 | 81 | public function getRepository($name) |
| 82 | 82 | { |
@@ -102,7 +102,7 @@ discard block |
||
| 102 | 102 | /** |
| 103 | 103 | * Builds the options array used to build SDK entity managers |
| 104 | 104 | * |
| 105 | - * @return array |
|
| 105 | + * @return string |
|
| 106 | 106 | */ |
| 107 | 107 | private function getOptions() |
| 108 | 108 | { |
@@ -44,8 +44,7 @@ |
||
| 44 | 44 | |
| 45 | 45 | try { |
| 46 | 46 | return $this->fieldsMap->getFieldName($alias, $locale); |
| 47 | - } |
|
| 48 | - catch (\OutOfBoundsException $exception) { |
|
| 47 | + } catch (\OutOfBoundsException $exception) { |
|
| 49 | 48 | if ($locale !== $this->defaultLocale) { |
| 50 | 49 | return $this->getFieldName($alias, $this->defaultLocale); |
| 51 | 50 | } |