Completed
Push — ezp_30797 ( 45158f )
by
unknown
19:25
created
eZ/Publish/Core/Repository/UserService.php 2 patches
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -497,7 +497,7 @@  discard block
 block discarded – undo
497 497
      * @param mixed $userId
498 498
      * @param string[] $prioritizedLanguages Used as prioritized language code on translated properties of returned object.
499 499
      *
500
-     * @return \eZ\Publish\API\Repository\Values\User\User
500
+     * @return \eZ\Publish\API\Repository\Values\ValueObject
501 501
      *
502 502
      * @throws \eZ\Publish\API\Repository\Exceptions\NotFoundException if a user with the given id was not found
503 503
      */
@@ -1528,6 +1528,9 @@  discard block
 block discarded – undo
1528 1528
             !empty($userUpdateStruct->maxLogin);
1529 1529
     }
1530 1530
 
1531
+    /**
1532
+     * @param integer|null $timestamp
1533
+     */
1531 1534
     private function getDateTime(?int $timestamp): ?DateTimeInterface
1532 1535
     {
1533 1536
         if ($timestamp !== null) {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,6 @@
 block discarded – undo
49 49
 use eZ\Publish\SPI\Persistence\User as SPIUser;
50 50
 use eZ\Publish\SPI\Persistence\User\Handler;
51 51
 use eZ\Publish\SPI\Persistence\User\UserTokenUpdateStruct as SPIUserTokenUpdateStruct;
52
-use EzSystems\RepositoryForms\Form\Type\DateTimeIntervalType;
53 52
 use Psr\Log\LoggerInterface;
54 53
 
55 54
 /**
Please login to merge, or discard this patch.