Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze authored and actions-user committed Jan 13, 2022
1 parent b4a14ff commit 66b34e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/CspServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Spatie\Csp;

use Illuminate\Support\ServiceProvider;
use Spatie\Csp\Nonce\NonceGenerator;
use Spatie\LaravelPackageTools\Package;
use Spatie\LaravelPackageTools\PackageServiceProvider;
Expand Down
4 changes: 2 additions & 2 deletions src/Policies/Policy.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ public function addDirective(string $directive, string|array|bool $values): self

$values = array_filter(
Arr::flatten(
array_map(fn ($value) => explode(' ', $value), Arr::wrap($values))
)
array_map(fn ($value) => explode(' ', $value), Arr::wrap($values))
)
);

if (in_array(Keyword::NONE, $values, true)) {
Expand Down

0 comments on commit 66b34e9

Please sign in to comment.