Skip to content

Commit 2471dfa

Browse files
committed
Add an example return value
1 parent 818f939 commit 2471dfa

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/framework/src/Support/Filesystem/MediaFile.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,11 @@ public function __construct(string $path)
4747
$this->hash = $this->findHash();
4848
}
4949

50-
/** @return array<string> Array of filenames relative to the _media/ directory */
50+
/**
51+
* @return array<string> Array of filenames relative to the _media/ directory
52+
*
53+
* @example `['app.css', 'images/logo.svg']`
54+
*/
5155
public static function files(): array
5256
{
5357
return static::all()->keys()->all();

0 commit comments

Comments
 (0)