Skip to content

Commit 8cc7bac

Browse files
committed
fix: remove declare(strict_types=1)
1 parent cdda699 commit 8cc7bac

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

system/View/Parser.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?php
22

3-
declare(strict_types=1);
4-
53
/**
64
* This file is part of CodeIgniter 4 framework.
75
*
@@ -618,6 +616,7 @@ protected function applyFilters(string $replace, array $filters): string
618616
}
619617

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

0 commit comments

Comments
 (0)