Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonid74 committed Jan 7, 2024
1 parent 13522b5 commit a423ec4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/StringHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ public static function printVar($mixVar, string $sTitle = ''): void
* 'message' - a message about the outcome of the operation or an error that occurred.
* 'replaced' - boolean flag indicating whether a replacement has been performed (true if a replacement was made).
*/
public function replaceStringInFile(string $filename, string $searchString, string $replaceString = '', string $enc = ''): array
public static function replaceStringInFile(string $filename, string $searchString, string $replaceString = '', string $enc = ''): array
{
$response = [
'result' => false,
Expand Down

0 comments on commit a423ec4

Please sign in to comment.