Skip to content

Commit

Permalink
fix: remove declare(strict_types=1)
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Oct 30, 2023
1 parent 9a59383 commit 60d3980
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions system/View/Parser.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types=1);

/**
* This file is part of CodeIgniter 4 framework.
*
Expand Down Expand Up @@ -618,6 +616,7 @@ protected function applyFilters(string $replace, array $filters): string
}

// Filter it....
// We can't know correct param types, so can't set `declare(strict_types=1)`.
$replace = $this->config->filters[$filter]($replace, ...$param);
}

Expand Down

0 comments on commit 60d3980

Please sign in to comment.