Skip to content

Commit

Permalink
Annotate type for Psalm
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Dec 15, 2024
1 parent 85750da commit 8c98614
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/framework/src/Support/Filesystem/MediaFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@ protected static function getMediaAssetFiles(): array
/** @return array<string>|string */
protected static function getMediaFileExtensions(): array|string
{
return Config::get('hyde.media_extensions', self::EXTENSIONS);
/** @var array<string>|string $config */
$config = Config::get('hyde.media_extensions', self::EXTENSIONS);

return $config;
}
}

0 comments on commit 8c98614

Please sign in to comment.