Completed
Push — EZP-31313-create-multireposito... ( 2e5554...b9fbdc )
by Marek
19:56
created
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.
eZ/Publish/Core/REST/Server/Security/RestAuthenticator.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -61,6 +61,9 @@
 block discarded – undo
61 61
     /** @var \Symfony\Component\Security\Http\Logout\LogoutHandlerInterface[] */
62 62
     private $logoutHandlers = [];
63 63
 
64
+    /**
65
+     * @param string $providerKey
66
+     */
64 67
     public function __construct(
65 68
         TokenStorageInterface $tokenStorage,
66 69
         AuthenticationManagerInterface $authenticationManager,
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/Repository/ContentTypeService.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
 
11 11
 use eZ\Publish\API\Repository\ContentTypeService as ContentTypeServiceInterface;
12 12
 use eZ\Publish\API\Repository\Repository as RepositoryInterface;
13
-use eZ\Publish\API\Repository\Values\ContentType\ContentType;
13
+use eZ\Publish\API\Repository\Values\ContentType\ContentType as APIContentType;
14 14
 use eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition;
15 15
 use eZ\Publish\SPI\Persistence\Content\Type\Handler;
16 16
 use eZ\Publish\API\Repository\Exceptions\NotFoundException as APINotFoundException;
@@ -19,7 +19,6 @@  discard block
 block discarded – undo
19 19
 use eZ\Publish\API\Repository\Values\ContentType\FieldDefinitionUpdateStruct;
20 20
 use eZ\Publish\API\Repository\Values\ContentType\FieldDefinition as APIFieldDefinition;
21 21
 use eZ\Publish\API\Repository\Values\ContentType\FieldDefinitionCreateStruct;
22
-use eZ\Publish\API\Repository\Values\ContentType\ContentType as APIContentType;
23 22
 use eZ\Publish\API\Repository\Values\ContentType\ContentTypeDraft as APIContentTypeDraft;
24 23
 use eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroup as APIContentTypeGroup;
25 24
 use eZ\Publish\API\Repository\Values\ContentType\ContentTypeUpdateStruct;
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.