Skip to content

Commit 1c2eef8

Browse files
authored
[10.x] fix compiled view file ends with .php (#46755)
* fix compiled view file ends with .php * fix style * fix style
1 parent 95a74d2 commit 1c2eef8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Foundation/Concerns/ResolvesDumpSource.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public function resolveDumpSource()
118118
*/
119119
protected function isCompiledViewFile($file)
120120
{
121-
return str_starts_with($file, $this->compiledViewPath);
121+
return str_starts_with($file, $this->compiledViewPath) && str_ends_with($file, '.php');
122122
}
123123

124124
/**

0 commit comments

Comments
 (0)