We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4c350c commit 37646e3Copy full SHA for 37646e3
src/php/flat-files/handlers/php-snippet-handler.php
@@ -12,7 +12,7 @@ public function get_dir_name(): string {
12
}
13
14
public function wrap_code( string $code ): string {
15
- $code = "<?php\n\n" . $code;
16
- return apply_filters( 'code_snippets_php_snippet_file_code', $code );
+ $output = "<?php\n\n" . apply_filters( 'code_snippets_php_snippet_file_code', $code );
+ return $output;
17
18
0 commit comments