@@ -196,7 +196,7 @@ |
||
| 196 | 196 | */ |
| 197 | 197 | public static function getFromSource(string $sourceFilePath): static |
| 198 | 198 | { |
| 199 | - return Hyde::routes()->first(function (Route $route) use ($sourceFilePath) { |
|
| 199 | + return Hyde::routes()->first(function(Route $route) use ($sourceFilePath) { |
|
| 200 | 200 | return $route->getSourcePath() === $sourceFilePath; |
| 201 | 201 | }) ?? throw new RouteNotFoundException($sourceFilePath); |
| 202 | 202 | } |