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