Completed
Push — EZP-31677-6.13-7.5 ( 743cfe )
by
unknown
17:29 queued 10s
created
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/Bundle/EzPublishCoreBundle/EventListener/ConsoleCommandListener.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -49,6 +49,7 @@
 block discarded – undo
49 49
 
50 50
     /**
51 51
      * ConsoleCommandListener constructor.
52
+     * @param string $defaultSiteAccessName
52 53
      */
53 54
     public function __construct($defaultSiteAccessName, array $siteAccessList, EventDispatcherInterface $eventDispatcher, $debug = false)
54 55
     {
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.