Completed
Push — master ( fa35f0...64e350 )
by Gabriel
03:11
created
src/User/UserEntityTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -233,7 +233,7 @@
 block discarded – undo
233 233
     protected function hashPassword(): UserEntityInterface
234 234
     {
235 235
         $this->password = password_hash(
236
-            (string) $this->password,
236
+            (string)$this->password,
237 237
             PASSWORD_DEFAULT
238 238
         );
239 239
         return $this;
Please login to merge, or discard this patch.
src/Container.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -39,11 +39,11 @@  discard block
 block discarded – undo
39 39
             $userEntity = $this->container->get(UserEntityInterface::class);
40 40
             if ($userEntity instanceof DoctrineUserEntity) {
41 41
                 $em = $this->container->get(EntityManager::class);
42
-                $this->items[UserRepositoryInterface::class] = function () use ($em, $userEntity) {
42
+                $this->items[UserRepositoryInterface::class] = function() use ($em, $userEntity) {
43 43
                     return new DoctrineUserRepository($em, $em->getClassMetadata(get_class($userEntity)));
44 44
                 };
45 45
             } elseif ($userEntity instanceof EloquentUserEntity) {
46
-                $this->items[UserRepositoryInterface::class] = function () {
46
+                $this->items[UserRepositoryInterface::class] = function() {
47 47
                     return new EloquentUserRepository();
48 48
                 };
49 49
             }
@@ -53,11 +53,11 @@  discard block
 block discarded – undo
53 53
             $sessionEntity = $this->container->get(SessionEntityInterface::class);
54 54
             if ($sessionEntity instanceof DoctrineSessionEntity) {
55 55
                 $em = $this->container->get(EntityManager::class);
56
-                $this->items[SessionRepositoryInterface::class] = function () use ($em, $sessionEntity) {
56
+                $this->items[SessionRepositoryInterface::class] = function() use ($em, $sessionEntity) {
57 57
                     return new DoctrineSessionRepository($em, $em->getClassMetadata(get_class($sessionEntity)));
58 58
                 };
59 59
             } elseif ($sessionEntity instanceof EloquentSessionEntity) {
60
-                $this->items[SessionRepositoryInterface::class] = function () {
60
+                $this->items[SessionRepositoryInterface::class] = function() {
61 61
                     return new EloquentSessionRepository();
62 62
                 };
63 63
             }
Please login to merge, or discard this patch.