@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | * @param ContainerBuilder $container |
73 | 73 | * @param Definition $factory The factory service that should receive the list of handlers |
74 | 74 | * @param array $configuredHandlers Handlers configuration declared via semantic config |
75 | - * @param \eZ\Bundle\EzPublishIOBundle\DependencyInjection\ConfigurationFactory[]|ArrayObject $factories Map of alias => handler service id |
|
75 | + * @param ArrayObject $factories Map of alias => handler service id |
|
76 | 76 | * @param string $defaultHandler default handler id |
77 | 77 | * |
78 | 78 | * @internal param $HandlerTypesMap |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | * Returns from $factories the factory for handler $type. |
106 | 106 | * |
107 | 107 | * @param ContainerBuilder $container |
108 | - * @param \eZ\Bundle\EzPublishIOBundle\DependencyInjection\ConfigurationFactory[]|ArrayObject|ContainerAware[] $factories |
|
108 | + * @param ArrayObject $factories |
|
109 | 109 | * @param string $type |
110 | 110 | * |
111 | 111 | * @return \eZ\Bundle\EzPublishIOBundle\DependencyInjection\ConfigurationFactory |
@@ -60,9 +60,9 @@ |
||
60 | 60 | |
61 | 61 | /** |
62 | 62 | * @param NodeDefinition $node |
63 | - * @param $name |
|
63 | + * @param string $name |
|
64 | 64 | * @param string $info block info line |
65 | - * @param ConfigurationFactory[]|ArrayObject $factories |
|
65 | + * @param ArrayObject $factories |
|
66 | 66 | */ |
67 | 67 | private function addHandlersSection(NodeDefinition $node, $name, $info, ArrayObject &$factories) |
68 | 68 | { |
@@ -72,6 +72,7 @@ discard block |
||
72 | 72 | |
73 | 73 | /** |
74 | 74 | * Registers the handler in the container, like the pass would have done. |
75 | + * @param string $name |
|
75 | 76 | */ |
76 | 77 | private function registerHandler($name) |
77 | 78 | { |
@@ -107,7 +108,6 @@ discard block |
||
107 | 108 | * |
108 | 109 | * The method can also configure the container via $this->container. |
109 | 110 | * |
110 | - * @param ContainerBuilder $container |
|
111 | 111 | */ |
112 | 112 | abstract public function provideHandlerConfiguration(); |
113 | 113 |
@@ -18,9 +18,9 @@ |
||
18 | 18 | /** |
19 | 19 | * Make/Crypt the authentication value. |
20 | 20 | * |
21 | - * @param string $user |
|
22 | 21 | * @param string $password |
23 | 22 | * @param string $type The type of authentication |
23 | + * @param string $username |
|
24 | 24 | * |
25 | 25 | * @return string Authentication value |
26 | 26 | * |
@@ -73,9 +73,7 @@ discard block |
||
73 | 73 | /** |
74 | 74 | * Initialize class. |
75 | 75 | * |
76 | - * @param string $url Base URL for REST calls |
|
77 | 76 | * @param string $driver REST Driver to be used |
78 | - * @param string $json |
|
79 | 77 | */ |
80 | 78 | public function __construct( |
81 | 79 | $driver = self::DEFAULT_DRIVER, |
@@ -89,6 +87,9 @@ discard block |
||
89 | 87 | $this->setRestDriver($this->driver); |
90 | 88 | } |
91 | 89 | |
90 | + /** |
|
91 | + * @param string $url |
|
92 | + */ |
|
92 | 93 | private function setUrl($url) |
93 | 94 | { |
94 | 95 | $this->url = $url; |
@@ -167,6 +168,8 @@ discard block |
||
167 | 168 | |
168 | 169 | /** |
169 | 170 | * @When I send a :type request to :resource (url) |
171 | + * @param string $type |
|
172 | + * @param string $resource |
|
170 | 173 | */ |
171 | 174 | public function createAndSendRequest($type, $resource) |
172 | 175 | { |
@@ -29,7 +29,7 @@ |
||
29 | 29 | } |
30 | 30 | |
31 | 31 | /** |
32 | - * @param mixed $resource |
|
32 | + * @param string $resource |
|
33 | 33 | * @param string $type |
34 | 34 | * |
35 | 35 | * @return RouteCollection |
@@ -113,7 +113,7 @@ |
||
113 | 113 | } |
114 | 114 | |
115 | 115 | /** |
116 | - * @return PHPUnit_Framework_MockObject_MockObject|RequestMatcherInterface |
|
116 | + * @return RequestMatcherInterface |
|
117 | 117 | */ |
118 | 118 | protected function getRequestMatcherMock() |
119 | 119 | { |
@@ -159,7 +159,7 @@ discard block |
||
159 | 159 | } |
160 | 160 | |
161 | 161 | /** |
162 | - * @return CsrfProviderInterface|PHPUnit_Framework_MockObject_MockObject |
|
162 | + * @return null|\Symfony\Component\Security\Csrf\CsrfTokenManagerInterface |
|
163 | 163 | */ |
164 | 164 | protected function getCsrfProviderMock() |
165 | 165 | { |
@@ -182,7 +182,7 @@ discard block |
||
182 | 182 | } |
183 | 183 | |
184 | 184 | /** |
185 | - * @return PHPUnit_Framework_MockObject_MockObject|GetResponseEvent |
|
185 | + * @return null|EventDispatcherInterface |
|
186 | 186 | */ |
187 | 187 | protected function getEventMock($class = null) |
188 | 188 | { |
@@ -284,7 +284,7 @@ discard block |
||
284 | 284 | } |
285 | 285 | |
286 | 286 | /** |
287 | - * @return PHPUnit_Framework_MockObject_MockObject|EventDispatcherInterface |
|
287 | + * @return EventDispatcherInterface |
|
288 | 288 | */ |
289 | 289 | protected function getEventDispatcherMock() |
290 | 290 | { |
@@ -61,6 +61,7 @@ discard block |
||
61 | 61 | } |
62 | 62 | |
63 | 63 | /** |
64 | + * @param string $class |
|
64 | 65 | * @return PHPUnit_Framework_MockObject_MockObject|$class |
65 | 66 | */ |
66 | 67 | protected function getEventMock($class) |
@@ -134,7 +135,6 @@ discard block |
||
134 | 135 | } |
135 | 136 | |
136 | 137 | /** |
137 | - * @param bool $csrfEnabled |
|
138 | 138 | * |
139 | 139 | * @return CsrfListener |
140 | 140 | */ |