Completed
Push — ezp30481_turkish_i_breaks_lega... ( f8977c...f9e406 )
by
unknown
17:31
created
eZ/Publish/Core/REST/Common/Tests/Output/FieldTypeSerializerTest.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -404,6 +404,9 @@  discard block
 block discarded – undo
404 404
         );
405 405
     }
406 406
 
407
+    /**
408
+     * @return \eZ\Publish\API\Repository\FieldTypeService
409
+     */
407 410
     protected function getFieldTypeServiceMock()
408 411
     {
409 412
         if (!isset($this->fieldTypeServiceMock)) {
@@ -419,6 +422,9 @@  discard block
 block discarded – undo
419 422
         return $this->fieldTypeServiceMock;
420 423
     }
421 424
 
425
+    /**
426
+     * @return Common\FieldTypeProcessorRegistry
427
+     */
422 428
     protected function getFieldTypeProcessorRegistryMock()
423 429
     {
424 430
         if (!isset($this->fieldTypeProcessorRegistryMock)) {
@@ -449,6 +455,9 @@  discard block
 block discarded – undo
449 455
         return $this->fieldTypeProcessorMock;
450 456
     }
451 457
 
458
+    /**
459
+     * @return \eZ\Publish\API\Repository\Values\ContentType\ContentType
460
+     */
452 461
     protected function getContentTypeMock()
453 462
     {
454 463
         if (!isset($this->contentTypeMock)) {
@@ -479,6 +488,9 @@  discard block
 block discarded – undo
479 488
         return $this->fieldTypeMock;
480 489
     }
481 490
 
491
+    /**
492
+     * @return Common\Output\Generator
493
+     */
482 494
     protected function getGeneratorMock()
483 495
     {
484 496
         if (!isset($this->generatorMock)) {
Please login to merge, or discard this patch.
Core/REST/Common/Tests/Output/Generator/FieldTypeHashGeneratorBaseTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -185,6 +185,9 @@
 block discarded – undo
185 185
         return $this->getGenerator()->endDocument('Version');
186 186
     }
187 187
 
188
+    /**
189
+     * @param string $functionName
190
+     */
188 191
     private function assertSerializationSame($functionName)
189 192
     {
190 193
         $fixtureFile = $this->getFixtureFile($functionName);
Please login to merge, or discard this patch.
eZ/Publish/Core/REST/Server/Authenticator/BasicAuth.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
      * @param RMF\Request $request
50 50
      *
51
-     * @return bool
51
+     * @return null|false
52 52
      */
53 53
     public function authenticate(RMF\Request $request)
54 54
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/REST/Server/Authenticator/IntegrationTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
      *
46 46
      * @param RMF\Request $request
47 47
      *
48
-     * @return bool
48
+     * @return boolean|null
49 49
      */
50 50
     public function authenticate(RMF\Request $request)
51 51
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/REST/Server/Controller/ContentType.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -612,7 +612,7 @@
 block discarded – undo
612 612
      * @throws \eZ\Publish\Core\REST\Server\Exceptions\ForbiddenException
613 613
      * @throws \eZ\Publish\Core\REST\Common\Exceptions\NotFoundException
614 614
      *
615
-     * @return \eZ\Publish\Core\REST\Server\Values\FieldDefinitionList
615
+     * @return Values\RestFieldDefinition
616 616
      */
617 617
     public function updateContentTypeDraftFieldDefinition($contentTypeId, $fieldDefinitionId, Request $request)
618 618
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/REST/Server/Controller/Location.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
      *
126 126
      * @param string $locationPath
127 127
      *
128
-     * @return \eZ\Publish\Core\REST\Server\Values\RestLocation
128
+     * @return Values\CachedValue
129 129
      */
130 130
     public function loadLocation($locationPath)
131 131
     {
@@ -314,7 +314,7 @@  discard block
 block discarded – undo
314 314
      *
315 315
      * @param mixed $contentId
316 316
      *
317
-     * @return \eZ\Publish\Core\REST\Server\Values\LocationList
317
+     * @return Values\CachedValue
318 318
      */
319 319
     public function loadLocationsForContent($contentId, Request $request)
320 320
     {
@@ -339,7 +339,7 @@  discard block
 block discarded – undo
339 339
      *
340 340
      * @param string $locationPath
341 341
      *
342
-     * @return \eZ\Publish\Core\REST\Server\Values\LocationList
342
+     * @return Values\CachedValue
343 343
      */
344 344
     public function loadLocationChildren($locationPath, Request $request)
345 345
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/REST/Server/Controller/URLAlias.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
      *
81 81
      * @param $locationPath
82 82
      *
83
-     * @return \eZ\Publish\Core\REST\Server\Values\URLAliasRefList
83
+     * @return Values\CachedValue
84 84
      */
85 85
     public function listLocationURLAliases($locationPath, Request $request)
86 86
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/REST/Server/Output/ValueObjectVisitor/CachedValue.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -61,6 +61,9 @@
 block discarded – undo
61 61
         }
62 62
     }
63 63
 
64
+    /**
65
+     * @param string $parameterName
66
+     */
64 67
     public function getParameter($parameterName, $defaultValue = null)
65 68
     {
66 69
         if ($this->configResolver->hasParameter($parameterName)) {
Please login to merge, or discard this patch.
eZ/Publish/Core/REST/Server/Output/ValueObjectVisitor/Policy.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      *
26 26
      * @param \eZ\Publish\Core\REST\Common\Output\Visitor $visitor
27 27
      * @param \eZ\Publish\Core\REST\Common\Output\Generator $generator
28
-     * @param Policy|PolicyDraft $data
28
+     * @param \eZ\Publish\API\Repository\Values\User\Policy $data
29 29
      */
30 30
     public function visit(Visitor $visitor, Generator $generator, $data)
31 31
     {
Please login to merge, or discard this patch.