@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace Spatie\Csp; |
4 | 4 | |
5 | -use Spatie\Csp\Policies\Policy; |
|
6 | 5 | use Spatie\Csp\Exceptions\InvalidCspPolicy; |
6 | +use Spatie\Csp\Policies\Policy; |
|
7 | 7 | |
8 | 8 | class PolicyFactory |
9 | 9 | { |
@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace Spatie\Csp; |
4 | 4 | |
5 | -use Spatie\Csp\Nonce\NonceGenerator; |
|
6 | 5 | use Illuminate\Support\ServiceProvider; |
6 | +use Spatie\Csp\Nonce\NonceGenerator; |
|
7 | 7 | |
8 | 8 | class CspServiceProvider extends ServiceProvider |
9 | 9 | { |
@@ -2,14 +2,14 @@ |
||
2 | 2 | |
3 | 3 | namespace Spatie\Csp\Policies; |
4 | 4 | |
5 | -use ReflectionClass; |
|
6 | -use Spatie\Csp\Value; |
|
7 | -use Spatie\Csp\Keyword; |
|
8 | -use Spatie\Csp\Directive; |
|
5 | +use Illuminate\Http\Request; |
|
9 | 6 | use Illuminate\Support\Arr; |
10 | 7 | use Illuminate\Support\Str; |
11 | -use Illuminate\Http\Request; |
|
8 | +use ReflectionClass; |
|
9 | +use Spatie\Csp\Directive; |
|
12 | 10 | use Spatie\Csp\Exceptions\InvalidDirective; |
11 | +use Spatie\Csp\Keyword; |
|
12 | +use Spatie\Csp\Value; |
|
13 | 13 | use Symfony\Component\HttpFoundation\Response; |
14 | 14 | |
15 | 15 | abstract class Policy |