From d33949d546999011bdf757c111d61cbf80780381 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CChandan?= Date: Tue, 21 Nov 2023 18:35:42 +0530 Subject: [PATCH] ACMS-1890: Update fuction prototype. --- src/Settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Settings.php b/src/Settings.php index 73d14fd..ddb35e8 100644 --- a/src/Settings.php +++ b/src/Settings.php @@ -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;