File tree 1 file changed +2
-2
lines changed
packages/framework/src/Pages/Concerns
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ public static function isDiscoverable(): bool
105
105
*
106
106
* @throws \Hyde\Framework\Exceptions\FileNotFoundException If the page does not exist.
107
107
*/
108
- public static function get (string $ identifier ): HydePage
108
+ public static function get (string $ identifier ): static
109
109
{
110
110
return Pages::getPage (static ::sourcePath ($ identifier ));
111
111
}
@@ -118,7 +118,7 @@ public static function get(string $identifier): HydePage
118
118
*
119
119
* @throws \Hyde\Framework\Exceptions\FileNotFoundException If the file does not exist.
120
120
*/
121
- public static function parse (string $ identifier ): HydePage
121
+ public static function parse (string $ identifier ): static
122
122
{
123
123
return (new SourceFileParser (static ::class, $ identifier ))->get ();
124
124
}
You can’t perform that action at this time.
0 commit comments