@@ -16,9 +16,6 @@ |
||
16 | 16 | class MetadataLoadEvent extends AbstractEvent |
17 | 17 | { |
18 | 18 | /** |
19 | - * @param NodeInterface $node |
|
20 | - * @param string $locale |
|
21 | - * @param array $options |
|
22 | 19 | */ |
23 | 20 | public function __construct(Metadata $metadata) |
24 | 21 | { |
@@ -85,7 +85,7 @@ |
||
85 | 85 | } |
86 | 86 | |
87 | 87 | /** |
88 | - * @return mixed |
|
88 | + * @return Query |
|
89 | 89 | * |
90 | 90 | * @throws DocumentManagerException |
91 | 91 | */ |
@@ -55,7 +55,7 @@ |
||
55 | 55 | } |
56 | 56 | |
57 | 57 | /** |
58 | - * @return mixed |
|
58 | + * @return QueryResultCollection |
|
59 | 59 | */ |
60 | 60 | public function getResult() |
61 | 61 | { |
@@ -81,6 +81,9 @@ |
||
81 | 81 | } |
82 | 82 | } |
83 | 83 | |
84 | + /** |
|
85 | + * @param string $className |
|
86 | + */ |
|
84 | 87 | private function getDebugClassName($className) |
85 | 88 | { |
86 | 89 | $parts = explode('\\', $className); |
@@ -110,6 +110,9 @@ |
||
110 | 110 | $event->getAccessor()->set(self::CHANGER, $userId); |
111 | 111 | } |
112 | 112 | |
113 | + /** |
|
114 | + * @param \Symfony\Component\OptionsResolver\OptionsResolver $options |
|
115 | + */ |
|
113 | 116 | private function getUserId($options) |
114 | 117 | { |
115 | 118 | if ($options['user']) { |
@@ -155,7 +155,7 @@ |
||
155 | 155 | * |
156 | 156 | * @param object $document child-document |
157 | 157 | * @param NodeInterface $node to determine parent |
158 | - * @param array $options options to load parent |
|
158 | + * @param \Symfony\Component\OptionsResolver\OptionsResolver $options options to load parent |
|
159 | 159 | */ |
160 | 160 | private function mapParent($document, NodeInterface $node, $options = []) |
161 | 161 | { |
@@ -211,7 +211,7 @@ |
||
211 | 211 | * @param string $alias As specified in the query source. |
212 | 212 | * @param string $field Name of the document field |
213 | 213 | * |
214 | - * @return array { |
|
214 | + * @return string[] { |
|
215 | 215 | * |
216 | 216 | * @var string Element is the real alias to use, second element is |
217 | 217 | * @var string the property name |
@@ -51,7 +51,6 @@ |
||
51 | 51 | /** |
52 | 52 | * @param SessionInterface $session |
53 | 53 | * @param EventDispatcherInterface $eventDispatcher |
54 | - * @param QueryBuilderConverter $converter |
|
55 | 54 | * @param string $queryBuilderClass |
56 | 55 | */ |
57 | 56 | public function __construct( |