@@ -148,7 +148,7 @@ |
||
148 | 148 | * a series of string arguments, or an array. |
149 | 149 | * |
150 | 150 | * @internal |
151 | - * @param array|null|string $key , $key, $key... |
|
151 | + * @param string $key , $key, $key... |
|
152 | 152 | * @return bool |
153 | 153 | */ |
154 | 154 | public function clear(...$key) |
@@ -63,7 +63,7 @@ |
||
63 | 63 | * Inserts a new content object. |
64 | 64 | * |
65 | 65 | * @param \eZ\Publish\SPI\Persistence\Content\CreateStruct $struct |
66 | - * @param mixed $currentVersionNo |
|
66 | + * @param integer $currentVersionNo |
|
67 | 67 | * |
68 | 68 | * @return int ID |
69 | 69 | */ |
@@ -109,6 +109,7 @@ discard block |
||
109 | 109 | } |
110 | 110 | |
111 | 111 | /** |
112 | + * @param string $method |
|
112 | 113 | * @return HttpRequest |
113 | 114 | */ |
114 | 115 | public function createHttpRequest($method, $uri, $contentType = '', $acceptType = '') |
@@ -170,6 +171,9 @@ discard block |
||
170 | 171 | return $errorMessageString; |
171 | 172 | } |
172 | 173 | |
174 | + /** |
|
175 | + * @param string $header |
|
176 | + */ |
|
173 | 177 | protected function assertHttpResponseHasHeader(HttpResponse $response, $header, $expectedValue = null) |
174 | 178 | { |
175 | 179 | $headerValue = $response->getHeader($header); |
@@ -179,6 +183,9 @@ discard block |
||
179 | 183 | } |
180 | 184 | } |
181 | 185 | |
186 | + /** |
|
187 | + * @param string $typeString |
|
188 | + */ |
|
182 | 189 | protected function generateMediaTypeString($typeString) |
183 | 190 | { |
184 | 191 | return "application/vnd.ez.api.$typeString"; |
@@ -306,6 +313,9 @@ discard block |
||
306 | 313 | return $folderLocations; |
307 | 314 | } |
308 | 315 | |
316 | + /** |
|
317 | + * @param string $string |
|
318 | + */ |
|
309 | 319 | protected function addTestSuffix($string) |
310 | 320 | { |
311 | 321 | if (!isset(self::$testSuffix)) { |
@@ -227,6 +227,9 @@ |
||
227 | 227 | return new ExceptionValueObjectVisitor(false, $this->getTranslatorMock()); |
228 | 228 | } |
229 | 229 | |
230 | + /** |
|
231 | + * @return null|TranslatorInterface |
|
232 | + */ |
|
230 | 233 | protected function getTranslatorMock() |
231 | 234 | { |
232 | 235 | if (!isset($this->translatorMock)) { |
@@ -72,7 +72,7 @@ |
||
72 | 72 | * @param \eZ\Publish\SPI\Persistence\Content\VersionInfo $versionInfo |
73 | 73 | * @param \eZ\Publish\SPI\Persistence\Content\Field $field |
74 | 74 | * |
75 | - * @return bool |
|
75 | + * @return boolean|null |
|
76 | 76 | */ |
77 | 77 | protected function updateFieldData(VersionInfo $versionInfo, Field $field) |
78 | 78 | { |
@@ -91,6 +91,9 @@ |
||
91 | 91 | */ |
92 | 92 | private $maxSleepTime; |
93 | 93 | |
94 | + /** |
|
95 | + * @param string $providerKey |
|
96 | + */ |
|
94 | 97 | public function __construct( |
95 | 98 | TokenStorageInterface $tokenStorage, |
96 | 99 | AuthenticationManagerInterface $authenticationManager, |