diff --git a/src/Storage/DefaultAssetNameGenerator.php b/src/Storage/DefaultAssetNameGenerator.php index 319834c6..b6eac293 100644 --- a/src/Storage/DefaultAssetNameGenerator.php +++ b/src/Storage/DefaultAssetNameGenerator.php @@ -120,7 +120,7 @@ protected function getPrefix() return Config::inst()->get(__CLASS__, 'version_prefix'); } - public function current(): mixed + public function current(): string { $version = $this->version; @@ -145,7 +145,7 @@ public function current(): mixed return $filename; } - public function key(): mixed + public function key(): int { return $this->version - $this->first; }