Skip to content

Commit d09b823

Browse files
committed
Removed $this variable from the components files.
1 parent dd62e99 commit d09b823

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/HTMLServerComponentsCompiler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public function process($content, $options = [])
6969
return $content;
7070
}
7171

72-
$getComponentFileContent = function($file, $component, $variables) {
72+
$getComponentFileContent = static function($file, $component, $variables) {
7373
if (is_file($file)) {
7474
$__componentFile = $file;
7575
unset($file);

0 commit comments

Comments
 (0)