Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonid74 committed Jan 4, 2024
1 parent 986c3de commit c244456
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 @@ -507,7 +507,7 @@ public static function printVar($mixVar, string $sTitle = ''): void
* Возвращает массив, где первый элемент - true, если замена выполнена или замена не требуется,
* false если произошла ошибка, а второй элемент - подробности.
*/
public function replaceStringInFile(?string $filename, ?string $searchString, ?string $replaceString = '', $enc = static::$encoding): array
public static function replaceStringInFile(?string $filename, ?string $searchString, ?string $replaceString = '', $enc = static::$encoding): array
{
try {
// Checking an empty file name
Expand Down

0 comments on commit c244456

Please sign in to comment.