Passed
Push — master ( d6782e...149d2c )
by Caen
12:13 queued 11s
created
packages/framework/src/Models/Route.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -196,7 +196,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.