Completed
Push — 7.5 ( 3cbdfb...483473 )
by Łukasz
22:00
created
eZ/Publish/Core/Limitation/Tests/Base.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     /**
28 28
      * @param array $mockMethods For specifying the methods to mock, all by default
29 29
      *
30
-     * @return \eZ\Publish\SPI\Persistence\Handler|\PHPUnit\Framework\MockObject\MockObject
30
+     * @return SPIHandler
31 31
      */
32 32
     public function getPersistenceMock(array $mockMethods = [])
33 33
     {
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishCoreBundle/Command/ReindexCommand.php 1 patch
Doc Comments   +8 added lines, -1 removed lines patch added patch discarded remove patch
@@ -218,6 +218,9 @@  discard block
 block discarded – undo
218 218
         }
219 219
     }
220 220
 
221
+    /**
222
+     * @param boolean $commit
223
+     */
221 224
     protected function indexIncrementally(InputInterface $input, OutputInterface $output, $iterationCount, $commit)
222 225
     {
223 226
         if ($contentIds = $input->getOption('content-ids')) {
@@ -285,6 +288,10 @@  discard block
 block discarded – undo
285 288
         $progress->finish();
286 289
     }
287 290
 
291
+    /**
292
+     * @param integer $processCount
293
+     * @param integer $iterationCount
294
+     */
288 295
     private function runParallelProcess(ProgressBar $progress, Statement $stmt, $processCount, $iterationCount, $commit)
289 296
     {
290 297
         /** @var \Symfony\Component\Process\Process[]|null[] */
@@ -341,7 +348,7 @@  discard block
 block discarded – undo
341 348
     }
342 349
 
343 350
     /**
344
-     * @param mixed $locationId
351
+     * @param integer $locationId
345 352
      * @param bool $count
346 353
      *
347 354
      * @return \Doctrine\DBAL\Driver\Statement
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishCoreBundle/EventListener/RequestEventListener.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -34,6 +34,9 @@
 block discarded – undo
34 34
     /** @var \Symfony\Component\Routing\RouterInterface */
35 35
     private $router;
36 36
 
37
+    /**
38
+     * @param string $defaultSiteAccess
39
+     */
37 40
     public function __construct(ConfigResolverInterface $configResolver, RouterInterface $router, $defaultSiteAccess, LoggerInterface $logger = null)
38 41
     {
39 42
         $this->configResolver = $configResolver;
Please login to merge, or discard this patch.
EzPublishCoreBundle/DependencyInjection/Configuration/ConfigResolver.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -283,6 +283,7 @@
 block discarded – undo
283 283
     /**
284 284
      * If in run-time debug mode, before SiteAccess is initialized, log getParameter() usages when considered "unsafe".
285 285
      *
286
+     * @param string $paramName
286 287
      * @return string
287 288
      */
288 289
     private function logTooEarlyLoadedListIfNeeded($paramName)
Please login to merge, or discard this patch.
eZ/Publish/Core/REST/Client/SectionService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@
 block discarded – undo
158 158
     /**
159 159
      * Loads all sections, excluding the ones the current user is not allowed to read.
160 160
      *
161
-     * @return array of {@link \eZ\Publish\API\Repository\Values\Content\Section}
161
+     * @return \eZ\Publish\API\Repository\Values\ValueObject of {@link \eZ\Publish\API\Repository\Values\Content\Section}
162 162
      */
163 163
     public function loadSections()
164 164
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/Repository/Helper/RoleDomainMapper.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
      *
47 47
      * @param \eZ\Publish\SPI\Persistence\User\Role $role
48 48
      *
49
-     * @return \eZ\Publish\API\Repository\Values\User\Role
49
+     * @return \eZ\Publish\API\Repository\Values\ValueObject
50 50
      */
51 51
     public function buildDomainRoleObject(SPIRole $role)
52 52
     {
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
      *
72 72
      * @param \eZ\Publish\SPI\Persistence\User\Role $spiRole
73 73
      *
74
-     * @return \eZ\Publish\API\Repository\Values\User\RoleDraft
74
+     * @return \eZ\Publish\API\Repository\Values\ValueObject
75 75
      */
76 76
     public function buildDomainRoleDraftObject(SPIRole $spiRole)
77 77
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/Repository/RoleService.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
      *
192 192
      * @param mixed $id
193 193
      *
194
-     * @return \eZ\Publish\API\Repository\Values\User\RoleDraft
194
+     * @return \eZ\Publish\API\Repository\Values\ValueObject
195 195
      */
196 196
     public function loadRoleDraft($id)
197 197
     {
@@ -742,7 +742,7 @@  discard block
 block discarded – undo
742 742
      *
743 743
      * @param mixed $id
744 744
      *
745
-     * @return \eZ\Publish\API\Repository\Values\User\Role
745
+     * @return \eZ\Publish\API\Repository\Values\ValueObject
746 746
      */
747 747
     public function loadRole($id)
748 748
     {
@@ -1324,7 +1324,7 @@  discard block
 block discarded – undo
1324 1324
      *
1325 1325
      * @param \eZ\Publish\API\Repository\Values\User\RoleCreateStruct $roleCreateStruct
1326 1326
      *
1327
-     * @return \eZ\Publish\Core\FieldType\ValidationError[][][]
1327
+     * @return \eZ\Publish\Core\FieldType\ValidationError[]
1328 1328
      */
1329 1329
     protected function validateRoleCreateStruct(APIRoleCreateStruct $roleCreateStruct)
1330 1330
     {
@@ -1354,7 +1354,7 @@  discard block
 block discarded – undo
1354 1354
      * @param string $function
1355 1355
      * @param \eZ\Publish\API\Repository\Values\User\Limitation[] $limitations
1356 1356
      *
1357
-     * @return \eZ\Publish\Core\FieldType\ValidationError[][]
1357
+     * @return \eZ\Publish\Core\FieldType\ValidationError[]
1358 1358
      */
1359 1359
     protected function validatePolicy($module, $function, array $limitations)
1360 1360
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/REST/Client/RoleService.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -544,7 +544,7 @@  discard block
 block discarded – undo
544 544
     /**
545 545
      * Loads all roles, excluding the ones the current user is not allowed to read.
546 546
      *
547
-     * @return \eZ\Publish\API\Repository\Values\User\Role[]
547
+     * @return \eZ\Publish\API\Repository\Values\ValueObject
548 548
      */
549 549
     public function loadRoles()
550 550
     {
@@ -592,7 +592,7 @@  discard block
 block discarded – undo
592 592
      *
593 593
      * @param mixed $userId
594 594
      *
595
-     * @return \eZ\Publish\API\Repository\Values\User\Policy[]
595
+     * @return \eZ\Publish\API\Repository\Values\ValueObject
596 596
      */
597 597
     public function loadPoliciesByUserId($userId)
598 598
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/Repository/Tests/Service/Mock/UrlTest.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -441,6 +441,9 @@  discard block
 block discarded – undo
441 441
             ->willReturn($hasAccess);
442 442
     }
443 443
 
444
+    /**
445
+     * @param URL $object
446
+     */
444 447
     protected function configureUrlViewPermission($object, $hasAccess = false)
445 448
     {
446 449
         $this->permissionResolver
@@ -454,6 +457,9 @@  discard block
 block discarded – undo
454 457
             ->will($this->returnValue($hasAccess));
455 458
     }
456 459
 
460
+    /**
461
+     * @param URL $object
462
+     */
457 463
     protected function configureUrlUpdatePermission($object, $hasAccess = false)
458 464
     {
459 465
         $this->permissionResolver
@@ -488,6 +494,10 @@  discard block
 block discarded – undo
488 494
             ->getMock();
489 495
     }
490 496
 
497
+    /**
498
+     * @param integer $id
499
+     * @param string $url
500
+     */
491 501
     private function getApiUrl($id = null, $url = null)
492 502
     {
493 503
         return new URL(['id' => $id, 'url' => $url]);
Please login to merge, or discard this patch.