Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/discovery/src/DiscoveryLocation.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ final class DiscoveryLocation
public readonly string $path;

public string $key {
get => (string) crc32($this->path);
get => hash('xxh64', $this->path);
}

public function __construct(
Expand Down
2 changes: 1 addition & 1 deletion packages/view/src/ViewCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function clear(): void

public function getCachedViewPath(string $path, Closure $compiledView): string
{
$cacheKey = (string) crc32($path);
$cacheKey = hash('xxh64', $path);

$cacheItem = $this->pool->getItem($cacheKey);

Expand Down