Skip to content

Commit

Permalink
Update ViewsData.php
Browse files Browse the repository at this point in the history
  • Loading branch information
imanghafoori1 authored Mar 1, 2021
1 parent 5d8e2ca commit 0a309f6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/SpyClasses/ViewsData.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ public function readTokenizedVars()

public static function getBladeTokens($path)
{
app('microscope.blade.compiler')->withoutComponentTags();

return token_get_all(app('microscope.blade.compiler')->compileString(file_get_contents($path)));
}
}

0 comments on commit 0a309f6

Please sign in to comment.