@@ -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 | */ |
@@ -109,6 +109,9 @@ |
||
109 | 109 | $conn->exec('DELETE FROM ezcontentobject_link WHERE relation_type = 0'); |
110 | 110 | } |
111 | 111 | |
112 | + /** |
|
113 | + * @param integer $totalCount |
|
114 | + */ |
|
112 | 115 | protected function executeList(OutputInterface $output, $totalCount) |
113 | 116 | { |
114 | 117 | $table = new Table($output); |
@@ -66,7 +66,7 @@ |
||
66 | 66 | /** |
67 | 67 | * Sets the complete list of view providers. |
68 | 68 | * |
69 | - * @param array $viewProviders |
|
69 | + * @param \PHPUnit\Framework\MockObject\MockObject $viewProviders |
|
70 | 70 | */ |
71 | 71 | public function setViewProviders(array $viewProviders) |
72 | 72 | { |
@@ -86,7 +86,7 @@ |
||
86 | 86 | /** |
87 | 87 | * @dataProvider indexingProvider |
88 | 88 | * |
89 | - * @param array|null $value |
|
89 | + * @param array|null $values |
|
90 | 90 | * @param \Psr\Log\LoggerInterface|\PHPUnit\Framework\MockObject\MockObject|null $logger |
91 | 91 | */ |
92 | 92 | public function testIndexing(array $values = null, $logger = null) |
@@ -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 | { |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | } |
52 | 52 | |
53 | 53 | /** |
54 | - * @param array $mockedMethods |
|
54 | + * @param string[] $mockedMethods |
|
55 | 55 | * |
56 | 56 | * @return \PHPUnit\Framework\MockObject\MockObject|DefaultRouter |
57 | 57 | */ |
@@ -318,6 +318,9 @@ discard block |
||
318 | 318 | ]; |
319 | 319 | } |
320 | 320 | |
321 | + /** |
|
322 | + * @param string $uri |
|
323 | + */ |
|
321 | 324 | private function getExpectedRequestContext($uri) |
322 | 325 | { |
323 | 326 | $requestContext = new RequestContext(); |
@@ -104,6 +104,9 @@ |
||
104 | 104 | $this->it['siteaccess'] = $this->scriptOutput; |
105 | 105 | } |
106 | 106 | |
107 | + /** |
|
108 | + * @param string $command |
|
109 | + */ |
|
107 | 110 | private function iRunTheCommand($command, $siteaccess = null) |
108 | 111 | { |
109 | 112 | $phpFinder = new PhpExecutableFinder(); |
@@ -159,7 +159,7 @@ |
||
159 | 159 | /** |
160 | 160 | * Applies the given SQL $statements to the database in use. |
161 | 161 | * |
162 | - * @param array $statements |
|
162 | + * @param string[] $statements |
|
163 | 163 | */ |
164 | 164 | protected function applyStatements(array $statements) |
165 | 165 | { |
@@ -127,7 +127,7 @@ discard block |
||
127 | 127 | * @param string $identifier content type identifier |
128 | 128 | * @param bool $throwIfNotFound if true, throws an exception if it is not found. |
129 | 129 | * |
130 | - * @return \eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroup|null |
|
130 | + * @return \eZ\Publish\API\Repository\Values\ContentType\ContentType |
|
131 | 131 | */ |
132 | 132 | protected function loadContentTypeByIdentifier($identifier, $throwIfNotFound = true) |
133 | 133 | { |
@@ -151,9 +151,9 @@ discard block |
||
151 | 151 | * |
152 | 152 | * @param string $groupIdentifier content type group identifier |
153 | 153 | * @param string $identifier content type identifier |
154 | - * @param array $fields content type fields definitions |
|
154 | + * @param TableNode $fields content type fields definitions |
|
155 | 155 | * |
156 | - * @return eZ\Publish\API\Repository\Values\ContentType\ContentType |
|
156 | + * @return \eZ\Publish\API\Repository\Values\ContentType\ContentType |
|
157 | 157 | */ |
158 | 158 | public function createContentType($groupIdentifier, $identifier, $fields) |
159 | 159 | { |
@@ -201,7 +201,7 @@ discard block |
||
201 | 201 | /** |
202 | 202 | * Remove the given 'ContentType' object. |
203 | 203 | * |
204 | - * @param eZ\Publish\API\Repository\Values\ContentType\ContentType $contentType |
|
204 | + * @param \eZ\Publish\API\Repository\Values\ContentType\ContentType $contentType |
|
205 | 205 | */ |
206 | 206 | protected function removeContentType($contentType) |
207 | 207 | { |