@@ -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,12 +2,12 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Spatie\Csp\Policies; |
| 4 | 4 | |
| 5 | +use Illuminate\Http\Request; |
|
| 5 | 6 | use ReflectionClass; |
| 6 | -use Spatie\Csp\Value; |
|
| 7 | -use Spatie\Csp\Keyword; |
|
| 8 | 7 | use Spatie\Csp\Directive; |
| 9 | -use Illuminate\Http\Request; |
|
| 10 | 8 | use Spatie\Csp\Exceptions\InvalidDirective; |
| 9 | +use Spatie\Csp\Keyword; |
|
| 10 | +use Spatie\Csp\Value; |
|
| 11 | 11 | use Symfony\Component\HttpFoundation\Response; |
| 12 | 12 | |
| 13 | 13 | abstract class Policy |