Skip to content

Commit 0828297

Browse files
authored
Fix crc32(): Passing null deprecation (#8625)
1 parent 70503b7 commit 0828297

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Features/SupportScriptsAndAssets/SupportScriptsAndAssets.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public static function getUniqueBladeCompileTimeKey()
2828
// from using load-balancers and such.
2929
// Therefore, we create a key based on the currently compiling view path and
3030
// number of already compiled directives here...
31-
$viewPath = crc32(app('blade.compiler')->getPath());
31+
$viewPath = crc32(app('blade.compiler')->getPath() ?? '');
3232

3333
if (! isset(static::$countersByViewPath[$viewPath])) static::$countersByViewPath[$viewPath] = 0;
3434

0 commit comments

Comments
 (0)