Skip to content

Commit 63616dc

Browse files
authored
chore: doc asset
1 parent 4d94af1 commit 63616dc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/asset.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,19 +211,19 @@ every day::
211211

212212
class DateVersionStrategy implements VersionStrategyInterface
213213
{
214-
private $version;
214+
private string $version;
215215

216216
public function __construct()
217217
{
218218
$this->version = date('Ymd');
219219
}
220220

221-
public function getVersion(string $path)
221+
public function getVersion(string $path): string
222222
{
223223
return $this->version;
224224
}
225225

226-
public function applyVersion(string $path)
226+
public function applyVersion(string $path): string
227227
{
228228
return sprintf('%s?v=%s', $path, $this->getVersion($path));
229229
}

0 commit comments

Comments
 (0)