@@ -13,6 +13,9 @@ |
||
13 | 13 | |
14 | 14 | abstract class AbstractParamConverterTest extends TestCase |
15 | 15 | { |
16 | + /** |
|
17 | + * @param string $name |
|
18 | + */ |
|
16 | 19 | public function createConfiguration($class = null, $name = null) |
17 | 20 | { |
18 | 21 | $config = $this |
@@ -143,6 +143,7 @@ discard block |
||
143 | 143 | } |
144 | 144 | |
145 | 145 | /** |
146 | + * @param string $semanticPath |
|
146 | 147 | * @return Request |
147 | 148 | */ |
148 | 149 | protected function createRequest($semanticPath, $host = 'localhost') |
@@ -154,7 +155,7 @@ discard block |
||
154 | 155 | } |
155 | 156 | |
156 | 157 | /** |
157 | - * @param $request |
|
158 | + * @param Request $request |
|
158 | 159 | * |
159 | 160 | * @return RequestEvent |
160 | 161 | */ |
@@ -100,6 +100,10 @@ |
||
100 | 100 | return true; |
101 | 101 | } |
102 | 102 | |
103 | + /** |
|
104 | + * @param string $namespace |
|
105 | + * @param string $scope |
|
106 | + */ |
|
103 | 107 | protected function resolveScopeRelativeParamName(string $paramName, ?string $namespace = null, ?string $scope = null): string |
104 | 108 | { |
105 | 109 | return $this->getScopeRelativeParamName($paramName, ...$this->resolveNamespaceAndScope($namespace, $scope)); |
@@ -27,6 +27,9 @@ discard block |
||
27 | 27 | /** @var \eZ\Publish\Core\MVC\Symfony\View\ViewProvider|\eZ\Publish\Core\MVC\Symfony\SiteAccess\SiteAccessAware */ |
28 | 28 | private $viewProviders; |
29 | 29 | |
30 | + /** |
|
31 | + * @param \PHPUnit\Framework\MockObject\MockObject[] $configResolvers |
|
32 | + */ |
|
30 | 33 | public function __construct( |
31 | 34 | iterable $configResolvers, |
32 | 35 | ViewManagerInterface $viewManager |
@@ -67,7 +70,7 @@ discard block |
||
67 | 70 | /** |
68 | 71 | * Sets the complete list of view providers. |
69 | 72 | * |
70 | - * @param array $viewProviders |
|
73 | + * @param \PHPUnit\Framework\MockObject\MockObject $viewProviders |
|
71 | 74 | */ |
72 | 75 | public function setViewProviders(array $viewProviders) |
73 | 76 | { |
@@ -126,6 +126,7 @@ discard block |
||
126 | 126 | |
127 | 127 | /** |
128 | 128 | * Applies dependencies of complex $parameter in $scope. |
129 | + * @param string $parameter |
|
129 | 130 | */ |
130 | 131 | private function addComplexParametersDependencies($parameter, $scope, ContainerBuilder $container) |
131 | 132 | { |
@@ -160,6 +161,9 @@ discard block |
||
160 | 161 | } |
161 | 162 | } |
162 | 163 | |
164 | + /** |
|
165 | + * @param string $setting |
|
166 | + */ |
|
163 | 167 | private function postProcessComplexSetting($setting, $sa, ContainerBuilder $container) |
164 | 168 | { |
165 | 169 | $configResolver = $container->get('ezpublish.config.resolver.chain'); |