Skip to content

Commit

Permalink
phpdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
dbu committed Jun 19, 2024
1 parent 123aae8 commit ab68c06
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/Templating/LazyFilterRuntime.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,18 @@ final class LazyFilterRuntime implements RuntimeExtensionInterface
private ?string $assetVersion;

/**
* @var array|null
* @var array<string, string>|null
*/
private $jsonManifest;

/**
* @var array|null
* @var array<string, string>|null
*/
private $jsonManifestLookup;

/**
* @param array<string, string>|null $jsonManifest
*/
public function __construct(CacheManager $cache, ?string $assetVersion = null, ?array $jsonManifest = null)
{
$this->cache = $cache;
Expand Down Expand Up @@ -126,6 +129,8 @@ private function appendAssetVersion(string $resolvedPath, string $path): string

/**
* Capture the versioning string from the versioned filename
*
* @return array{version: string, position: int}
*/
private function captureVersion(string $originalFilename, string $versionedFilename): array
{
Expand Down

0 comments on commit ab68c06

Please sign in to comment.