Skip to content

Commit

Permalink
syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Oct 13, 2022
1 parent e58f390 commit 2ba0aa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scoper.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ static function (string $filePath, string $prefix, string $content): string {
}

// comment out
return str_replace('\trigger_error', '\\ \trigger_error', $content);
return str_replace('@trigger_error', '// @trigger_error', $content);
},

static function (string $filePath, string $prefix, string $content): string {
Expand Down

0 comments on commit 2ba0aa6

Please sign in to comment.