Skip to content

Commit

Permalink
PSR-2 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Firesphere authored Jul 10, 2023
1 parent 93e51bb commit 360b83c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Helpers/CSPConvertor.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,11 @@ public static function toYml($response, $return = false)
echo "<h3>Original headers</h3>";
}
foreach ($asArray as $headerPart) {
if (empty($headerPart)) continue;
if (empty($headerPart)) {
continue;
}
if (!$return) {
print_r(sprintf('%s<br />',));
print_r(sprintf('%s<br />', $headerPart));
}
$parts = explode(' ', trim($headerPart));
$key = array_shift($parts);
Expand Down

0 comments on commit 360b83c

Please sign in to comment.