Completed
Push — test-7.5/symfony-37671-test-ca... ( 4e74b9...349d2a )
by
unknown
45:51
created
eZ/Bundle/EzPublishCoreBundle/Features/Context/UserContext.php 1 patch
Doc Comments   +11 added lines, -8 removed lines patch added patch discarded remove patch
@@ -62,9 +62,9 @@  discard block
 block discarded – undo
62 62
      * Search User with given username, optionally at given location.
63 63
      *
64 64
      * @param string $username name of User to search for
65
-     * @param string $parentGroupLocationId where to search, in User Group tree
65
+     * @param string $parentGroupId where to search, in User Group tree
66 66
      *
67
-     * @return User found
67
+     * @return null|\eZ\Publish\API\Repository\Values\User\User found
68 68
      */
69 69
     public function searchUserByLogin($username, $parentGroupId = null)
70 70
     {
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
      * @param string $name name of User Group to search for
96 96
      * @param string $parentLocationId (optional) parent location id to search in
97 97
      *
98
-     * @return search results
98
+     * @return \eZ\Publish\API\Repository\Values\Content\Search\SearchHit[] results
99 99
      */
100 100
     public function searchUserGroups($name, $parentLocationId = null)
101 101
     {
@@ -118,12 +118,12 @@  discard block
 block discarded – undo
118 118
     /**
119 119
      * Create user inside given User Group; DELETES existing User if login already exists!
120 120
      *
121
-     * @param $username username of the user to create
122
-     * @param $email email address of user to create
123
-     * @param $password account password for user to create
124
-     * @param $parentGroup pathstring wherein to create user
121
+     * @param string $username username of the user to create
122
+     * @param string $email email address of user to create
123
+     * @param string $password account password for user to create
124
+     * @param \eZ\Publish\API\Repository\Values\User\UserGroup $parentGroup pathstring wherein to create user
125 125
      *
126
-     * @return eZ\Publish\API\Repository\Values\User\User
126
+     * @return \eZ\Publish\API\Repository\Values\User\User
127 127
      */
128 128
     protected function createUser($username, $email, $password, $parentGroup = null, $fields = [])
129 129
     {
@@ -317,6 +317,9 @@  discard block
 block discarded – undo
317 317
         return false;
318 318
     }
319 319
 
320
+    /**
321
+     * @param integer $type
322
+     */
320 323
     public function createPasswordHash($login, $password, $type)
321 324
     {
322 325
         switch ($type) {
Please login to merge, or discard this patch.
eZ/Publish/API/Repository/Tests/BaseTest.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -215,7 +215,6 @@  discard block
 block discarded – undo
215 215
      *
216 216
      * @param \eZ\Publish\API\Repository\Values\ValueObject $expectedValues
217 217
      * @param \eZ\Publish\API\Repository\Values\ValueObject $actualObject
218
-     * @param array $propertyNames
219 218
      */
220 219
     protected function assertStructPropertiesCorrect(ValueObject $expectedValues, ValueObject $actualObject, array $additionalProperties = [])
221 220
     {
@@ -477,7 +476,7 @@  discard block
 block discarded – undo
477 476
     /**
478 477
      * Create role of a given name with the given policies described by an array.
479 478
      *
480
-     * @param $roleName
479
+     * @param string $roleName
481 480
      * @param array $policiesData [['module' => 'content', 'function' => 'read', 'limitations' => []]
482 481
      *
483 482
      * @return \eZ\Publish\API\Repository\Values\User\Role
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/Bundle/EzPublishIOBundle/BinaryStreamResponse.php 1 patch
Doc Comments   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -41,7 +41,6 @@  discard block
 block discarded – undo
41 41
      * @param array               $headers            An array of response headers
42 42
      * @param bool                $public             Files are public by default
43 43
      * @param string|null         $contentDisposition The type of Content-Disposition to set automatically with the filename
44
-     * @param bool                $autoEtag           Whether the ETag header should be automatically set
45 44
      * @param bool                $autoLastModified   Whether the Last-Modified header should be automatically set
46 45
      */
47 46
     public function __construct(BinaryFile $binaryFile, IOServiceInterface $ioService, $status = 200, $headers = [], $public = true, $contentDisposition = null, $autoLastModified = true)
@@ -60,12 +59,11 @@  discard block
 block discarded – undo
60 59
     /**
61 60
      * Sets the file to stream.
62 61
      *
63
-     * @param \SplFileInfo|string $file The file to stream
62
+     * @param BinaryFile $file The file to stream
64 63
      * @param string $contentDisposition
65
-     * @param bool $autoEtag
66 64
      * @param bool $autoLastModified
67 65
      *
68
-     * @return BinaryFileResponse
66
+     * @return BinaryStreamResponse
69 67
      */
70 68
     public function setFile($file, $contentDisposition = null, $autoLastModified = true)
71 69
     {
Please login to merge, or discard this patch.
eZ/Publish/API/Repository/Tests/BaseURLServiceTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -20,6 +20,9 @@  discard block
 block discarded – undo
20 20
 {
21 21
     private const URL_CONTENT_TYPE_IDENTIFIER = 'link_ct';
22 22
 
23
+    /**
24
+     * @param integer $expectedTotalCount
25
+     */
23 26
     protected function doTestFindUrls(URLQuery $query, array $expectedUrls, $expectedTotalCount = null, $ignoreOrder = true)
24 27
     {
25 28
         $repository = $this->getRepository();
@@ -37,6 +40,9 @@  discard block
 block discarded – undo
37 40
         $this->assertSearchResultItems($searchResult, $expectedUrls, $ignoreOrder);
38 41
     }
39 42
 
43
+    /**
44
+     * @param boolean $ignoreOrder
45
+     */
40 46
     protected function assertSearchResultItems(SearchResult $searchResult, array $expectedUrls, $ignoreOrder)
41 47
     {
42 48
         $this->assertCount(count($expectedUrls), $searchResult->items);
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishCoreBundle/Command/ReindexCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -332,7 +332,7 @@
 block discarded – undo
332 332
     }
333 333
 
334 334
     /**
335
-     * @param mixed $locationId
335
+     * @param integer $locationId
336 336
      * @param bool $count
337 337
      *
338 338
      * @return \Doctrine\DBAL\Driver\Statement
Please login to merge, or discard this patch.