Completed
Push — master ( 7440bd...cf598b )
by Gabriel
03:17
created
src/Authentication/AuthenticationController.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Exception;
6 6
 use Interop\Container\ContainerInterface;
7
-use Psr\Http\Message\ResponseInterface;
8 7
 use Sinergi\Users\Container;
9 8
 use Sinergi\Users\Session\SessionController;
10 9
 use Sinergi\Users\User\UserEntityInterface;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
                 throw new AuthenticationException(
103 103
                     $this->getDictionary()
104 104
                         ->get('user.authentication.error.email_not_confirmed')
105
-                    . '<br><a href="#" data-action="resend-confirmation-email">' . $this->getDictionary()
105
+                    . '<br><a href="#" data-action="resend-confirmation-email">'.$this->getDictionary()
106 106
                         ->get('user.authentication.error.resend_confirmation_email')
107 107
                     . '</a>'
108 108
                 );
Please login to merge, or discard this patch.
src/Session/SessionController.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,9 +3,6 @@
 block discarded – undo
3 3
 namespace Sinergi\Users\Session;
4 4
 
5 5
 use Interop\Container\ContainerInterface;
6
-use Psr\Http\Message\RequestInterface;
7
-use Psr\Http\Message\ResponseInterface;
8
-use Psr\Http\Message\ServerRequestInterface;
9 6
 use Sinergi\Users\Container;
10 7
 use Sinergi\Users\User\UserEntityInterface;
11 8
 
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.