Completed
Branch master (04cdd6)
by Admin
03:18
created
src/CreatePersistentLogin.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
      * @param Callable          $store_on_client  Callable for setting Authentication cookie
83 83
      * @param Callable          $hash_callable    Callable for securely hashing the token
84 84
      * @param Callable          $store_on_server  Callable for storing the Permanent Login
85
-     * @param DateTime          $valid_until      How long permanent login shall be valid
85
+     * @param \DateTime          $valid_until      How long permanent login shall be valid
86 86
      * @param LoggerInterface   $logger           Optional: PSR-3 Logger
87 87
      */
88 88
     public function __construct( Generator $generator, Callable $store_on_client, Callable $hash_callable, Callable $store_on_server, \DateTime $valid_until, LoggerInterface $logger = null)
Please login to merge, or discard this patch.
src/Middleware.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -91,8 +91,8 @@
 block discarded – undo
91 91
 
92 92
 
93 93
     /**
94
-     * @param  Psr\Http\Message\ServerRequestInterface  $request  PSR7 request
95
-     * @param  Psr\Http\Message\ResponseInterface       $response PSR7 response
94
+     * @param  Request  $request  PSR7 request
95
+     * @param  Response       $response PSR7 response
96 96
      * @param  callable                                 $next     Next middleware
97 97
      *
98 98
      * @return Psr\Http\Message\ResponseInterface
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -1,9 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 namespace Germania\PermanentAuth;
3 3
 
4
-use Germania\PermanentAuth\Exceptions\RequestException;
5 4
 use Germania\PermanentAuth\AuthUserInterface;
6
-
7 5
 use Psr\Http\Message\ServerRequestInterface as Request;
8 6
 use Psr\Http\Message\ResponseInterface as Response;
9 7
 use Psr\Log\LoggerInterface;
Please login to merge, or discard this patch.
src/PdoValidator.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 namespace Germania\PermanentAuth;
3 3
 
4 4
 use Psr\Log\LoggerInterface;
5
-use Psr\Log\NullLogger;
6 5
 
7 6
 /**
8 7
  * This Callable finds on the server-side the user ID for a given selector and token pair.
Please login to merge, or discard this patch.