Completed
Push — EZP-29899 ( ab51a2 )
by André
24:48
created
eZ/Publish/SPI/Tests/FieldType/TextLineIntegrationTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
     /**
49 49
      * Get handler with required custom field types registered.
50 50
      *
51
-     * @return Handler
51
+     * @return \eZ\Publish\SPI\Persistence\Handler
52 52
      */
53 53
     public function getCustomHandler()
54 54
     {
Please login to merge, or discard this patch.
eZ/Publish/SPI/Tests/FieldType/UrlIntegrationTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
     /**
49 49
      * Get handler with required custom field types registered.
50 50
      *
51
-     * @return Handler
51
+     * @return \eZ\Publish\SPI\Persistence\Handler
52 52
      */
53 53
     public function getCustomHandler()
54 54
     {
Please login to merge, or discard this patch.
eZ/Publish/SPI/Tests/FieldType/UserIntegrationTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
     /**
49 49
      * Get handler with required custom field types registered.
50 50
      *
51
-     * @return Handler
51
+     * @return \eZ\Publish\SPI\Persistence\Handler
52 52
      */
53 53
     public function getCustomHandler()
54 54
     {
Please login to merge, or discard this patch.
eZ/Publish/API/Repository/Tests/BaseTest.php 2 patches
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -212,7 +212,6 @@  discard block
 block discarded – undo
212 212
      *
213 213
      * @param \eZ\Publish\API\Repository\Values\ValueObject $expectedValues
214 214
      * @param \eZ\Publish\API\Repository\Values\ValueObject $actualObject
215
-     * @param array $propertyNames
216 215
      */
217 216
     protected function assertStructPropertiesCorrect(ValueObject $expectedValues, ValueObject $actualObject, array $additionalProperties = array())
218 217
     {
@@ -474,7 +473,7 @@  discard block
 block discarded – undo
474 473
     /**
475 474
      * Create role of a given name with the given policies described by an array.
476 475
      *
477
-     * @param $roleName
476
+     * @param string $roleName
478 477
      * @param array $policiesData [['module' => 'content', 'function' => 'read', 'limitations' => []]
479 478
      *
480 479
      * @return \eZ\Publish\API\Repository\Values\User\Role
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 use Doctrine\DBAL\Connection;
12 12
 use eZ\Publish\API\Repository\Exceptions\ContentFieldValidationException;
13 13
 use eZ\Publish\API\Repository\Tests\PHPUnitConstraint\ValidationErrorOccurs as PHPUnitConstraintValidationErrorOccurs;
14
-use eZ\Publish\API\Repository\Values\Content\Location;
15 14
 use EzSystems\EzPlatformSolrSearchEngine\Tests\SetupFactory\LegacySetupFactory as LegacySolrSetupFactory;
16 15
 use PHPUnit\Framework\TestCase;
17 16
 use eZ\Publish\API\Repository\Repository;
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishRestBundle/Features/Context/RestClient/BuzzDriver.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@
 block discarded – undo
123 123
     /**
124 124
      * Get response status code.
125 125
      *
126
-     * @return string
126
+     * @return integer
127 127
      *
128 128
      * @throws \RuntimeException If request hasn't been send already
129 129
      */
Please login to merge, or discard this patch.
eZ/Publish/Core/Repository/ContentService.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1345,7 +1345,7 @@  discard block
 block discarded – undo
1345 1345
      *
1346 1346
      * @param \eZ\Publish\API\Repository\Values\Content\ContentUpdateStruct $contentUpdateStruct
1347 1347
      *
1348
-     * @return array
1348
+     * @return string[]
1349 1349
      */
1350 1350
     private function getUpdatedLanguageCodes(APIContentUpdateStruct $contentUpdateStruct)
1351 1351
     {
@@ -1372,7 +1372,7 @@  discard block
 block discarded – undo
1372 1372
      * @param \eZ\Publish\API\Repository\Values\Content\ContentUpdateStruct $contentUpdateStruct
1373 1373
      * @param \eZ\Publish\API\Repository\Values\Content\Content $content
1374 1374
      *
1375
-     * @return array
1375
+     * @return string[]
1376 1376
      */
1377 1377
     protected function getLanguageCodesForUpdate(APIContentUpdateStruct $contentUpdateStruct, APIContent $content)
1378 1378
     {
@@ -1491,7 +1491,7 @@  discard block
 block discarded – undo
1491 1491
      * @param \eZ\Publish\API\Repository\Values\Content\VersionInfo $versionInfo
1492 1492
      * @param int|null $publicationDate If null existing date is kept if there is one, otherwise current time is used.
1493 1493
      *
1494
-     * @return \eZ\Publish\API\Repository\Values\Content\Content
1494
+     * @return LocationCreateStruct
1495 1495
      */
1496 1496
     protected function internalPublishVersion(APIVersionInfo $versionInfo, $publicationDate = null)
1497 1497
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/Repository/Tests/Service/Mock/Base.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -205,6 +205,9 @@  discard block
 block discarded – undo
205 205
         return $this->persistenceMock;
206 206
     }
207 207
 
208
+    /**
209
+     * @return RelationProcessor
210
+     */
208 211
     protected function getRelationProcessorMock()
209 212
     {
210 213
         return $this->getMock(RelationProcessor::class,
@@ -254,7 +257,7 @@  discard block
 block discarded – undo
254 257
      *
255 258
      * @param int $id
256 259
      *
257
-     * @return \eZ\Publish\API\Repository\Values\User\User
260
+     * @return null|\eZ\Publish\API\Repository\Values\User\UserReference
258 261
      */
259 262
     protected function getStubbedUser($id)
260 263
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/REST/Server/Controller/Content.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -677,7 +677,7 @@  discard block
 block discarded – undo
677 677
      *
678 678
      * @deprecated Since platform 1.0. Forwards the request to the new /views location, but returns a 301.
679 679
      *
680
-     * @return \eZ\Publish\Core\REST\Server\Values\RestExecutedView
680
+     * @return \Symfony\Component\HttpFoundation\Response
681 681
      */
682 682
     public function createView()
683 683
     {
@@ -706,7 +706,7 @@  discard block
 block discarded – undo
706 706
     /**
707 707
      * @param \Symfony\Component\HttpFoundation\Request $request
708 708
      *
709
-     * @return mixed
709
+     * @return \eZ\Publish\API\Repository\Values\ValueObject
710 710
      */
711 711
     protected function parseContentRequest(Request $request)
712 712
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/Persistence/Legacy/Content/Gateway/DoctrineDatabase.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -117,9 +117,9 @@  discard block
 block discarded – undo
117 117
      * Inserts a new content object.
118 118
      *
119 119
      * @param \eZ\Publish\SPI\Persistence\Content\CreateStruct $struct
120
-     * @param mixed $currentVersionNo
120
+     * @param integer $currentVersionNo
121 121
      *
122
-     * @return int ID
122
+     * @return string ID
123 123
      */
124 124
     public function insertContentObject(CreateStruct $struct, $currentVersionNo = 1)
125 125
     {
@@ -221,7 +221,7 @@  discard block
 block discarded – undo
221 221
      * @param \eZ\Publish\SPI\Persistence\Content\VersionInfo $versionInfo
222 222
      * @param \eZ\Publish\SPI\Persistence\Content\Field[] $fields
223 223
      *
224
-     * @return int ID
224
+     * @return string ID
225 225
      */
226 226
     public function insertVersion(VersionInfo $versionInfo, array $fields)
227 227
     {
@@ -615,7 +615,7 @@  discard block
 block discarded – undo
615 615
      * @param \eZ\Publish\SPI\Persistence\Content\Field $field
616 616
      * @param \eZ\Publish\Core\Persistence\Legacy\Content\StorageFieldValue $value
617 617
      *
618
-     * @return int ID
618
+     * @return string ID
619 619
      */
620 620
     public function insertNewField(Content $content, Field $field, StorageFieldValue $value)
621 621
     {
@@ -1094,7 +1094,7 @@  discard block
 block discarded – undo
1094 1094
      *
1095 1095
      * Result is returned with oldest version first (using version id as it has index and is auto increment).
1096 1096
      *
1097
-     * @param mixed $contentId
1097
+     * @param integer $contentId
1098 1098
      * @param mixed|null $status Optional argument to filter versions by status, like {@see VersionInfo::STATUS_ARCHIVED}.
1099 1099
      * @param int $limit Limit for items returned, -1 means none.
1100 1100
      *
@@ -1162,7 +1162,7 @@  discard block
 block discarded – undo
1162 1162
     /**
1163 1163
      * Returns all version numbers for the given $contentId.
1164 1164
      *
1165
-     * @param mixed $contentId
1165
+     * @param integer $contentId
1166 1166
      *
1167 1167
      * @return int[]
1168 1168
      */
@@ -1860,7 +1860,7 @@  discard block
 block discarded – undo
1860 1860
      *
1861 1861
      * @param \eZ\Publish\SPI\Persistence\Content\Relation\CreateStruct $createStruct
1862 1862
      *
1863
-     * @return int ID the inserted ID
1863
+     * @return string ID the inserted ID
1864 1864
      */
1865 1865
     public function insertRelation(RelationCreateStruct $createStruct)
1866 1866
     {
Please login to merge, or discard this patch.