@@ -39,9 +39,7 @@  | 
                                                    ||
| 39 | 39 | /**  | 
                                                        
| 40 | 40 | * Can receive as many tuples of array( argumentName ), argumentValue as necessary.  | 
                                                        
| 41 | 41 | *  | 
                                                        
| 42 | - * @param $argumentString  | 
                                                        |
| 43 | - * @param string $dynamicSettingName..  | 
                                                        |
| 44 | - * @param string $dynamicSettingValue..  | 
                                                        |
| 42 | + * @param string $argumentString  | 
                                                        |
| 45 | 43 | *  | 
                                                        
| 46 | 44 | * @return string  | 
                                                        
| 47 | 45 | */  | 
                                                        
@@ -111,6 +111,7 @@ discard block  | 
                                                    ||
| 111 | 111 | |
| 112 | 112 | /**  | 
                                                        
| 113 | 113 | * Applies dependencies of complex $parameter in $scope.  | 
                                                        
| 114 | + * @param string $parameter  | 
                                                        |
| 114 | 115 | */  | 
                                                        
| 115 | 116 | private function addComplexParametersDependencies($parameter, $scope, ContainerBuilder $container)  | 
                                                        
| 116 | 117 |      { | 
                                                        
@@ -145,6 +146,9 @@ discard block  | 
                                                    ||
| 145 | 146 | }  | 
                                                        
| 146 | 147 | }  | 
                                                        
| 147 | 148 | |
| 149 | + /**  | 
                                                        |
| 150 | + * @param string $setting  | 
                                                        |
| 151 | + */  | 
                                                        |
| 148 | 152 | private function postProcessComplexSetting($setting, $sa, ContainerBuilder $container)  | 
                                                        
| 149 | 153 |      { | 
                                                        
| 150 | 154 |          $configResolver = $container->get('ezpublish.config.resolver.core'); | 
                                                        
@@ -42,7 +42,7 @@  | 
                                                    ||
| 42 | 42 | /**  | 
                                                        
| 43 | 43 | * Purge all variations generated for aliases in $aliasName.  | 
                                                        
| 44 | 44 | *  | 
                                                        
| 45 | - * @param array $aliasNames  | 
                                                        |
| 45 | + * @param string[] $aliasNames  | 
                                                        |
| 46 | 46 | */  | 
                                                        
| 47 | 47 | public function purge(array $aliasNames)  | 
                                                        
| 48 | 48 |      { | 
                                                        
@@ -22,7 +22,7 @@  | 
                                                    ||
| 22 | 22 | * Return an array of container extensions you need to be registered for each test (usually just the container  | 
                                                        
| 23 | 23 | * extension you are testing.  | 
                                                        
| 24 | 24 | *  | 
                                                        
| 25 | - * @return ExtensionInterface[]  | 
                                                        |
| 25 | + * @return EzPublishCoreExtension[]  | 
                                                        |
| 26 | 26 | */  | 
                                                        
| 27 | 27 | protected function getContainerExtensions()  | 
                                                        
| 28 | 28 |      { | 
                                                        
@@ -121,7 +121,7 @@ discard block  | 
                                                    ||
| 121 | 121 | /**  | 
                                                        
| 122 | 122 | * @dataProvider badRequestExceptionProvider  | 
                                                        
| 123 | 123 | *  | 
                                                        
| 124 | - * @param Exception|\eZ\Publish\Core\Base\Translatable $exception  | 
                                                        |
| 124 | + * @param Exception $exception  | 
                                                        |
| 125 | 125 | */  | 
                                                        
| 126 | 126 | public function testBadRequestException(Exception $exception)  | 
                                                        
| 127 | 127 |      { | 
                                                        
@@ -158,7 +158,7 @@ discard block  | 
                                                    ||
| 158 | 158 | /**  | 
                                                        
| 159 | 159 | * @dataProvider otherExceptionProvider  | 
                                                        
| 160 | 160 | *  | 
                                                        
| 161 | - * @param Exception|\eZ\Publish\Core\Base\Translatable $exception  | 
                                                        |
| 161 | + * @param Exception $exception  | 
                                                        |
| 162 | 162 | */  | 
                                                        
| 163 | 163 | public function testOtherRepositoryException(Exception $exception)  | 
                                                        
| 164 | 164 |      { | 
                                                        
@@ -16,6 +16,9 @@  | 
                                                    ||
| 16 | 16 |  { | 
                                                        
| 17 | 17 | protected $rootNodeName;  | 
                                                        
| 18 | 18 | |
| 19 | + /**  | 
                                                        |
| 20 | + * @param string $rootNodeName  | 
                                                        |
| 21 | + */  | 
                                                        |
| 19 | 22 | public function __construct($rootNodeName)  | 
                                                        
| 20 | 23 |      { | 
                                                        
| 21 | 24 | $this->rootNodeName = $rootNodeName;  | 
                                                        
@@ -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  | 
                                                        
@@ -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 | |
@@ -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 |      { |