Skip to content

Commit

Permalink
fix psr
Browse files Browse the repository at this point in the history
  • Loading branch information
Thiago committed Aug 16, 2023
1 parent 3ef392b commit 2eabc5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Filter/WebFileExtensionFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function applyHeaderFilter(array $headers) {
throw new \Exception('Missing or empty Content-Type on response header');
}
$fileExtension = $contentType[0];
if(!ArrayTool::inArrayRecursive(strtolower($fileExtension), $this->formats)) {
if (!ArrayTool::inArrayRecursive(strtolower($fileExtension), $this->formats)) {
throw new FileExtensionException('Invalid file extension file: '.$fileExtension);
}
}
Expand Down

0 comments on commit 2eabc5b

Please sign in to comment.