We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d94af1 commit 63616dcCopy full SHA for 63616dc
components/asset.rst
@@ -211,19 +211,19 @@ every day::
211
212
class DateVersionStrategy implements VersionStrategyInterface
213
{
214
- private $version;
+ private string $version;
215
216
public function __construct()
217
218
$this->version = date('Ymd');
219
}
220
221
- public function getVersion(string $path)
+ public function getVersion(string $path): string
222
223
return $this->version;
224
225
226
- public function applyVersion(string $path)
+ public function applyVersion(string $path): string
227
228
return sprintf('%s?v=%s', $path, $this->getVersion($path));
229
0 commit comments