Skip to content

Commit 818f939

Browse files
committed
Match method declaration order to the base page class
1 parent bec2d60 commit 818f939

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

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

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

50-
/** @return \Illuminate\Support\Collection<string, \Hyde\Support\Filesystem\MediaFile> The array keys are the filenames relative to the _media/ directory */
51-
public static function all(): Collection
52-
{
53-
return Hyde::assets();
54-
}
55-
5650
/** @return array<string> Array of filenames relative to the _media/ directory */
5751
public static function files(): array
5852
{
5953
return static::all()->keys()->all();
6054
}
6155

56+
/** @return \Illuminate\Support\Collection<string, \Hyde\Support\Filesystem\MediaFile> The array keys are the filenames relative to the _media/ directory */
57+
public static function all(): Collection
58+
{
59+
return Hyde::assets();
60+
}
61+
6262
/**
6363
* Get the absolute path to the media source directory, or a file within it.
6464
*/

0 commit comments

Comments
 (0)