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 b781607 commit 335f066Copy full SHA for 335f066
src/Libraries/VersionInfo.php
@@ -40,10 +40,10 @@ public static function get(): array
40
* Gets the asset tag string to append to asset URLs.
41
* Useful for CDNs to key on when re-deploying cached assets.
42
*
43
- * @param array $version The bnetdocs version array.
+ * @param array|null $version The bnetdocs version array.
44
* @return string The asset tag value.
45
*/
46
- private static function assetVersion(array $version): string
+ private static function assetVersion(?array $version): string
47
{
48
return (
49
!\CarlBennett\MVC\Libraries\Common::$config->bnetdocs->asset_versioning ? '' :
0 commit comments