Skip to content

Commit

Permalink
ACMS-1890: Update fuction prototype.
Browse files Browse the repository at this point in the history
  • Loading branch information
chandan-singh7929 committed Nov 21, 2023
1 parent 3bdd688 commit d33949d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public function generate(array $overrideData = []): void {
* @param bool $shouldMatch
* Decides when to append if match found.
*/
protected function appendIfMatchesCollect(string $file, string $pattern, string $text, bool $shouldMatch = FALSE): void {
public function appendIfMatchesCollect(string $file, string $pattern, string $text, bool $shouldMatch = FALSE): void {
$contents = file_get_contents($file);
if (preg_match($pattern, $contents) == $shouldMatch) {
$contents .= $text;
Expand Down

0 comments on commit d33949d

Please sign in to comment.