@@ -353,6 +353,9 @@ |
||
| 353 | 353 | return $this; |
| 354 | 354 | } |
| 355 | 355 | |
| 356 | + /** |
|
| 357 | + * @param string $permission |
|
| 358 | + */ |
|
| 356 | 359 | private function checkIsGranted($userId, $permission) |
| 357 | 360 | { |
| 358 | 361 | if (!$userId) { |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | { |
| 24 | 24 | /** |
| 25 | 25 | * @param $data |
| 26 | - * @return mixed |
|
| 26 | + * @return Snapshot |
|
| 27 | 27 | * @ODM\PreUpdate |
| 28 | 28 | */ |
| 29 | 29 | public function __invoke($data) |
@@ -77,6 +77,9 @@ discard block |
||
| 77 | 77 | return $return === $entity ? $this : $return; |
| 78 | 78 | } |
| 79 | 79 | |
| 80 | + /** |
|
| 81 | + * @param string $method |
|
| 82 | + */ |
|
| 80 | 83 | protected function proxyClone($method, ...$args) |
| 81 | 84 | { |
| 82 | 85 | $value = $this->proxy($method, ...$args); |
@@ -85,6 +88,9 @@ discard block |
||
| 85 | 88 | return $return; |
| 86 | 89 | } |
| 87 | 90 | |
| 91 | + /** |
|
| 92 | + * @param string $property |
|
| 93 | + */ |
|
| 88 | 94 | protected function inaccessible($property) |
| 89 | 95 | { |
| 90 | 96 | throw new \DomainException(sprintf( |
@@ -93,6 +99,9 @@ discard block |
||
| 93 | 99 | )); |
| 94 | 100 | } |
| 95 | 101 | |
| 102 | + /** |
|
| 103 | + * @param string $property |
|
| 104 | + */ |
|
| 96 | 105 | protected function immutable($property) |
| 97 | 106 | { |
| 98 | 107 | throw new ImmutablePropertyException($property, $this); |
@@ -69,6 +69,9 @@ |
||
| 69 | 69 | */ |
| 70 | 70 | protected $parent; |
| 71 | 71 | |
| 72 | + /** |
|
| 73 | + * @param string $value |
|
| 74 | + */ |
|
| 72 | 75 | final public static function filterValue($value) |
| 73 | 76 | { |
| 74 | 77 | $value = mb_strtolower($value); |
@@ -113,7 +113,7 @@ discard block |
||
| 113 | 113 | * @param string $requestedName |
| 114 | 114 | * @param null|array $options |
| 115 | 115 | * |
| 116 | - * @return object |
|
| 116 | + * @return \Zend\EventManager\EventManagerInterface |
|
| 117 | 117 | * @throws ServiceNotFoundException if unable to resolve the service. |
| 118 | 118 | * @throws ServiceNotCreatedException if an exception is raised when |
| 119 | 119 | * creating a service. |
@@ -333,7 +333,7 @@ discard block |
||
| 333 | 333 | * @param string|array $options String is either event name or aggregate name (when name is int). |
| 334 | 334 | * Array are the options from config. [ [event,..], method, priority, lazy] |
| 335 | 335 | * |
| 336 | - * @return array |
|
| 336 | + * @return \Zend\EventManager\EventManagerInterface |
|
| 337 | 337 | */ |
| 338 | 338 | protected function normalizeListenerOptions($name, $options) |
| 339 | 339 | { |
@@ -176,7 +176,7 @@ |
||
| 176 | 176 | * |
| 177 | 177 | * @param string $fullName |
| 178 | 178 | * |
| 179 | - * @return array|bool |
|
| 179 | + * @return string |
|
| 180 | 180 | */ |
| 181 | 181 | protected function getOptionsConfig($fullName) |
| 182 | 182 | { |
@@ -58,7 +58,7 @@ |
||
| 58 | 58 | } |
| 59 | 59 | |
| 60 | 60 | /** |
| 61 | - * @return mixed |
|
| 61 | + * @return null|string |
|
| 62 | 62 | */ |
| 63 | 63 | abstract protected function getUri(); |
| 64 | 64 | |
@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | } |
| 39 | 39 | |
| 40 | 40 | /** |
| 41 | - * @return mixed |
|
| 41 | + * @return \Auth\Entity\UserInterface |
|
| 42 | 42 | */ |
| 43 | 43 | public function getUser() |
| 44 | 44 | { |
@@ -68,7 +68,7 @@ discard block |
||
| 68 | 68 | } |
| 69 | 69 | |
| 70 | 70 | /** |
| 71 | - * @param mixed $repositories |
|
| 71 | + * @param mixed $repository |
|
| 72 | 72 | * |
| 73 | 73 | * @return self |
| 74 | 74 | */ |
@@ -179,7 +179,7 @@ |
||
| 179 | 179 | |
| 180 | 180 | /** |
| 181 | 181 | * @throws \RuntimeException |
| 182 | - * @return Collection |
|
| 182 | + * @return \Core\Entity\EntityInterface |
|
| 183 | 183 | */ |
| 184 | 184 | protected function getCollection() |
| 185 | 185 | { |