Completed
Pull Request — master (#2)
by Arjan
03:07
created
src/Http/Middleware/Authorize.php 1 patch
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,11 +2,11 @@
 block discarded – undo
2 2
 
3 3
 namespace ArjanWestdorp\Exposable\Http\Middleware;
4 4
 
5
-use Closure;
6
-use Illuminate\Http\Request;
7
-use ArjanWestdorp\Exposable\Guards\Guard;
8 5
 use ArjanWestdorp\Exposable\Exceptions\InvalidGuardException;
9 6
 use ArjanWestdorp\Exposable\Exceptions\UnauthorizedException;
7
+use ArjanWestdorp\Exposable\Guards\Guard;
8
+use Closure;
9
+use Illuminate\Http\Request;
10 10
 
11 11
 class Authorize
12 12
 {
Please login to merge, or discard this patch.
src/Signers/BaseSigner.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace ArjanWestdorp\Exposable\Signers;
4 4
 
5
-use League\Uri\Schemes\Http;
6 5
 use League\Uri\Components\Query;
7 6
 use League\Uri\Modifiers\KsortQuery;
7
+use League\Uri\Schemes\Http;
8 8
 
9 9
 abstract class BaseSigner
10 10
 {
Please login to merge, or discard this patch.
src/Traits/Exposable.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
     /**
94 94
      * Get the exposable lifetime for this model.
95 95
      *
96
-     * @return mixed
96
+     * @return string
97 97
      */
98 98
     protected function getExposableLifetime()
99 99
     {
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace ArjanWestdorp\Exposable\Traits;
4 4
 
5
-use ArjanWestdorp\Exposable\Signers\Signer;
6
-use ArjanWestdorp\Exposable\Exceptions\InvalidGuardException;
7 5
 use ArjanWestdorp\Exposable\Exceptions\InvalidExposableException;
6
+use ArjanWestdorp\Exposable\Exceptions\InvalidGuardException;
7
+use ArjanWestdorp\Exposable\Signers\Signer;
8 8
 
9 9
 trait Exposable
10 10
 {
Please login to merge, or discard this patch.