Completed
Push — EZP-29980 ( e9ef4e...428769 )
by
unknown
19:51
created
eZ/Publish/Core/Persistence/Doctrine/DeleteDoctrineQuery.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -43,8 +43,6 @@
 block discarded – undo
43 43
      *
44 44
      * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters.
45 45
      *
46
-     * @param string|array(string) $... Either a string with a logical expression name
47
-     * or an array with logical expressions.
48 46
      *
49 47
      * @return \eZ\Publish\Core\Persistence\Database\DeleteQuery
50 48
      */
Please login to merge, or discard this patch.
eZ/Publish/Core/Persistence/Doctrine/SelectDoctrineQuery.php 1 patch
Doc Comments   -14 removed lines patch added patch discarded remove patch
@@ -47,7 +47,6 @@  discard block
 block discarded – undo
47 47
      *
48 48
      * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters..
49 49
      *
50
-     * @param string|array(string) $... Either a string with a column name or an array of column names.
51 50
      *
52 51
      * @return \eZ\Publish\Core\Persistence\Database\SelectQuery returns a pointer to $this.
53 52
      */
@@ -107,7 +106,6 @@  discard block
 block discarded – undo
107 106
      *
108 107
      * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters..
109 108
      *
110
-     * @param string|array(string) $... Either a string with a column name or an array of column names.
111 109
      *
112 110
      * @return \eZ\Publish\Core\Persistence\Database\SelectQuery returns a pointer to $this.
113 111
      */
@@ -131,7 +129,6 @@  discard block
 block discarded – undo
131 129
      *
132 130
      * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters.
133 131
      *
134
-     * @param string|array(string) $... Either a string with a table name or an array of table names.
135 132
      *
136 133
      * @return \eZ\Publish\Core\Persistence\Database\SelectQuery a pointer to $this
137 134
      */
@@ -183,8 +180,6 @@  discard block
 block discarded – undo
183 180
      * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with inconsistent parameters or if
184 181
      *         invoked without preceding call to from().
185 182
      *
186
-     * @param string $table2,... The table to join with, followed by either the
187
-     *                           two join columns, or a join condition.
188 183
      *
189 184
      * @return \eZ\Publish\Core\Persistence\Database\SelectQuery
190 185
      */
@@ -236,8 +231,6 @@  discard block
 block discarded – undo
236 231
      * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with inconsistent parameters or if
237 232
      *         invoked without preceding call to from().
238 233
      *
239
-     * @param string $table2,... The table to join with, followed by either the
240
-     *                           two join columns, or a join condition.
241 234
      *
242 235
      * @return \eZ\Publish\Core\Persistence\Database\SelectQuery
243 236
      */
@@ -289,8 +282,6 @@  discard block
 block discarded – undo
289 282
      * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with inconsistent parameters or if
290 283
      *         invoked without preceding call to from().
291 284
      *
292
-     * @param string $table2,... The table to join with, followed by either the
293
-     *                           two join columns, or a join condition.
294 285
      *
295 286
      * @return \eZ\Publish\Core\Persistence\Database\SelectQuery
296 287
      */
@@ -313,8 +304,6 @@  discard block
 block discarded – undo
313 304
      *
314 305
      * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters.
315 306
      *
316
-     * @param string|array(string) $... Either a string with a logical expression name
317
-     * or an array with logical expressions.
318 307
      *
319 308
      * @return \eZ\Publish\Core\Persistence\Database\SelectQuery
320 309
      */
@@ -378,7 +367,6 @@  discard block
 block discarded – undo
378 367
      *
379 368
      * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters.
380 369
      *
381
-     * @param string $column a column name in the result set
382 370
      *
383 371
      * @return \eZ\Publish\Core\Persistence\Database\SelectQuery a pointer to $this
384 372
      */
@@ -399,8 +387,6 @@  discard block
 block discarded – undo
399 387
      * @throws \eZ\Publish\Core\Persistence\Database\QueryException
400 388
      *         if called with no parameters.
401 389
      *
402
-     * @param string|array(string) $... Either a string with a logical expression name
403
-     *                             or an array with logical expressions.
404 390
      *
405 391
      * @return \eZ\Publish\Core\Persistence\Database\SelectQuery a pointer to $this
406 392
      */
Please login to merge, or discard this patch.
eZ/Publish/Core/Persistence/Doctrine/UpdateDoctrineQuery.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -54,8 +54,6 @@
 block discarded – undo
54 54
      *
55 55
      * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters.
56 56
      *
57
-     * @param string|array(string) $... Either a string with a logical expression name
58
-     * or an array with logical expressions.
59 57
      *
60 58
      * @return \eZ\Publish\Core\Persistence\Database\UpdateQuery
61 59
      */
Please login to merge, or discard this patch.
eZ/Publish/Core/Repository/Tests/Service/Mock/ContentTest.php 1 patch
Doc Comments   +11 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1052,7 +1052,7 @@  discard block
 block discarded – undo
1052 1052
      * @param string $mainLanguageCode
1053 1053
      * @param \eZ\Publish\API\Repository\Values\Content\Field[] $structFields
1054 1054
      * @param \eZ\Publish\API\Repository\Values\ContentType\FieldDefinition[] $fieldDefinitions
1055
-     * @param array $languageCodes
1055
+     * @param string[] $languageCodes
1056 1056
      *
1057 1057
      * @return array
1058 1058
      */
@@ -1126,10 +1126,9 @@  discard block
 block discarded – undo
1126 1126
      * @param \eZ\Publish\SPI\Persistence\Content\Field[] $spiFields
1127 1127
      * @param \eZ\Publish\API\Repository\Values\ContentType\FieldDefinition[] $fieldDefinitions
1128 1128
      * @param \eZ\Publish\API\Repository\Values\Content\LocationCreateStruct[] $locationCreateStructs
1129
-     * @param \eZ\Publish\SPI\Persistence\Content\ObjectState\Group[] $objectStateGroups
1130 1129
      * @param bool $execute
1131 1130
      *
1132
-     * @return mixed
1131
+     * @return ContentCreateStruct
1133 1132
      */
1134 1133
     protected function assertForTestCreateContentNonRedundantFieldSet(
1135 1134
         $mainLanguageCode,
@@ -2006,7 +2005,7 @@  discard block
 block discarded – undo
2006 2005
      * @param \eZ\Publish\API\Repository\Values\Content\Field[] $structFields
2007 2006
      * @param \eZ\Publish\API\Repository\Values\ContentType\FieldDefinition[] $fieldDefinitions
2008 2007
      *
2009
-     * @return mixed
2008
+     * @return ContentCreateStruct
2010 2009
      */
2011 2010
     protected function assertForTestCreateContentRequiredField(
2012 2011
         $mainLanguageCode,
@@ -4793,6 +4792,10 @@  discard block
 block discarded – undo
4793 4792
         );
4794 4793
     }
4795 4794
 
4795
+    /**
4796
+     * @param Field[] $existingFields
4797
+     * @param FieldDefinition[] $fieldDefinitions
4798
+     */
4796 4799
     public function assertForTestUpdateContentRequiredField(
4797 4800
         $initialLanguageCode,
4798 4801
         $structFields,
@@ -4991,6 +4994,10 @@  discard block
 block discarded – undo
4991 4994
         }
4992 4995
     }
4993 4996
 
4997
+    /**
4998
+     * @param Field[] $existingFields
4999
+     * @param FieldDefinition[] $fieldDefinitions
5000
+     */
4994 5001
     public function assertForTestUpdateContentThrowsContentFieldValidationException(
4995 5002
         $initialLanguageCode,
4996 5003
         $structFields,
Please login to merge, or discard this patch.
eZ/Publish/Core/Persistence/Cache/Tests/AbstractBaseHandlerTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
     }
110 110
 
111 111
     /**
112
-     * @param $key
112
+     * @param string $key
113 113
      * @param null $value If null the cache item will be assumed to be a cache miss here.
114 114
      * @param int $defaultLifetime
115 115
      *
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishRestBundle/Tests/Functional/RoleTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -117,6 +117,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.
eZ/Publish/Core/FieldType/Tests/DateAndTimeTest.php 1 patch
Doc Comments   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
      * NOT take care for test case wide caching of the field type, just return
29 29
      * a new instance from this method!
30 30
      *
31
-     * @return FieldType
31
+     * @return DateAndTime
32 32
      */
33 33
     protected function createFieldTypeUnderTest()
34 34
     {
@@ -216,7 +216,6 @@  discard block
 block discarded – undo
216 216
     }
217 217
 
218 218
     /**
219
-     * @param mixed $inputValue
220 219
      * @param array $expectedResult
221 220
      *
222 221
      * @dataProvider provideInputForFromHash
@@ -278,7 +277,6 @@  discard block
 block discarded – undo
278 277
     }
279 278
 
280 279
     /**
281
-     * @param mixed $inputValue
282 280
      * @param string $intervalSpec
283 281
      *
284 282
      * @dataProvider provideInputForTimeStringFromHash
Please login to merge, or discard this patch.
eZ/Publish/API/Repository/Tests/FieldType/KeywordIntegrationTest.php 1 patch
Doc Comments   +5 added lines, -3 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
     /**
98 98
      * Get initial field data for valid object creation.
99 99
      *
100
-     * @return mixed
100
+     * @return KeywordValue
101 101
      */
102 102
     public function getValidCreationFieldData()
103 103
     {
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
     /**
174 174
      * Get update field externals data.
175 175
      *
176
-     * @return array
176
+     * @return KeywordValue
177 177
      */
178 178
     public function getValidUpdateFieldData()
179 179
     {
@@ -353,6 +353,8 @@  discard block
 block discarded – undo
353 353
 
354 354
     /**
355 355
      * {@inheritdoc}
356
+     * @param KeywordValue $fieldData
357
+     * @param ContentType $contentType
356 358
      */
357 359
     protected function createContent($fieldData, $contentType = null)
358 360
     {
@@ -410,7 +412,7 @@  discard block
 block discarded – undo
410 412
     /**
411 413
      * Create and publish content of $contentType with $fieldData.
412 414
      *
413
-     * @param mixed $fieldData
415
+     * @param string $fieldData
414 416
      * @param \eZ\Publish\API\Repository\Values\ContentType\ContentType $contentType
415 417
      * @param string $remoteId
416 418
      * @return \eZ\Publish\API\Repository\Values\Content\Content
Please login to merge, or discard this patch.
eZ/Publish/Core/Persistence/Cache/UserHandler.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -447,9 +447,9 @@
 block discarded – undo
447 447
      * Reusable function to return relevant role assignment tags so cache can be purged reliably.
448 448
      *
449 449
      * @param \eZ\Publish\SPI\Persistence\User\RoleAssignment $roleAssignment
450
-     * @param array $tags Optional, can be used to specify other tags.
450
+     * @param string[] $tags Optional, can be used to specify other tags.
451 451
      *
452
-     * @return array
452
+     * @return string[]
453 453
      */
454 454
     private function getCacheTagsForRoleAssignment(RoleAssignment $roleAssignment, array $tags = [])
455 455
     {
Please login to merge, or discard this patch.