@@ -183,6 +183,9 @@ |
||
| 183 | 183 | return $this->createTestContent('eng-US', $fieldValues); |
| 184 | 184 | } |
| 185 | 185 | |
| 186 | + /** |
|
| 187 | + * @param string $initialLanguageCode |
|
| 188 | + */ |
|
| 186 | 189 | protected function updateTestContent($initialLanguageCode, array $fieldValues) |
| 187 | 190 | { |
| 188 | 191 | $repository = $this->getRepository(); |
@@ -22,6 +22,9 @@ |
||
| 22 | 22 | return $treeBuilder; |
| 23 | 23 | } |
| 24 | 24 | |
| 25 | + /** |
|
| 26 | + * @param \Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition $rootNode |
|
| 27 | + */ |
|
| 25 | 28 | public function addRestRootResourcesSection($rootNode) |
| 26 | 29 | { |
| 27 | 30 | $systemNode = $this->generateScopeBaseNode($rootNode); |
@@ -113,7 +113,7 @@ discard block |
||
| 113 | 113 | * |
| 114 | 114 | * @param string $path The content path |
| 115 | 115 | * @param array $fields |
| 116 | - * @param mixed $contentType The content type identifier |
|
| 116 | + * @param string $contentType The content type identifier |
|
| 117 | 117 | * |
| 118 | 118 | * @return mixed location id of the created content |
| 119 | 119 | */ |
@@ -147,6 +147,7 @@ discard block |
||
| 147 | 147 | |
| 148 | 148 | /** |
| 149 | 149 | * Maps the path of the content to it's name for later use. |
| 150 | + * @param string $path |
|
| 150 | 151 | */ |
| 151 | 152 | private function mapContentPath($path) |
| 152 | 153 | { |
@@ -228,6 +228,7 @@ |
||
| 228 | 228 | * |
| 229 | 229 | * @param string The field name |
| 230 | 230 | * @param mixed The field value |
| 231 | + * @param string|null $field |
|
| 231 | 232 | */ |
| 232 | 233 | private function createAndPublishContent($field, $value) |
| 233 | 234 | { |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | } |
| 62 | 62 | |
| 63 | 63 | /** |
| 64 | - * @return \eZ\Bundle\EzPublishIOBundle\DependencyInjection\ConfigurationFactory[]|\ArrayObject |
|
| 64 | + * @return ArrayObject |
|
| 65 | 65 | */ |
| 66 | 66 | public function getMetadataHandlerFactories() |
| 67 | 67 | { |
@@ -69,7 +69,7 @@ discard block |
||
| 69 | 69 | } |
| 70 | 70 | |
| 71 | 71 | /** |
| 72 | - * @return \eZ\Bundle\EzPublishIOBundle\DependencyInjection\ConfigurationFactory[]|\ArrayObject |
|
| 72 | + * @return ArrayObject |
|
| 73 | 73 | */ |
| 74 | 74 | public function getBinarydataHandlerFactories() |
| 75 | 75 | { |
@@ -46,6 +46,8 @@ |
||
| 46 | 46 | |
| 47 | 47 | /** |
| 48 | 48 | * @When I set header :header with/for :object object |
| 49 | + * @param string $header |
|
| 50 | + * @param string $object |
|
| 49 | 51 | */ |
| 50 | 52 | public function setHeaderWithObject($header, $object) |
| 51 | 53 | { |
@@ -893,6 +893,7 @@ |
||
| 893 | 893 | * Returns total number of Locations in the database. |
| 894 | 894 | * |
| 895 | 895 | * The number excludes absolute root Location, which does not have an URL alias. |
| 896 | + * @return integer |
|
| 896 | 897 | */ |
| 897 | 898 | protected function getTotalLocationCount() |
| 898 | 899 | { |
@@ -117,6 +117,7 @@ discard block |
||
| 117 | 117 | * @depends testCreateRole |
| 118 | 118 | * Covers POST /user/roles/{roleId} |
| 119 | 119 | * |
| 120 | + * @param string $roleHref |
|
| 120 | 121 | * @return string The created role draft href |
| 121 | 122 | */ |
| 122 | 123 | public function testCreateRoleDraft($roleHref) |
@@ -410,7 +411,6 @@ discard block |
||
| 410 | 411 | /** |
| 411 | 412 | * @covers \POST /user/users/{userId}/roles |
| 412 | 413 | * |
| 413 | - * @param string $roleHref |
|
| 414 | 414 | * @param array $limitation |
| 415 | 415 | * |
| 416 | 416 | * @return string assigned role href |
@@ -131,6 +131,7 @@ discard block |
||
| 131 | 131 | } |
| 132 | 132 | |
| 133 | 133 | /** |
| 134 | + * @param string $semanticPath |
|
| 134 | 135 | * @return Request |
| 135 | 136 | */ |
| 136 | 137 | protected function createRequest($semanticPath, $host = 'localhost') |
@@ -142,7 +143,7 @@ discard block |
||
| 142 | 143 | } |
| 143 | 144 | |
| 144 | 145 | /** |
| 145 | - * @param $request |
|
| 146 | + * @param Request $request |
|
| 146 | 147 | * |
| 147 | 148 | * @return GetResponseEvent |
| 148 | 149 | */ |