Skip to content

Commit 0b67ae2

Browse files
authored
Update RouteRecord.php
1 parent e6f5146 commit 0b67ae2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/RouteRecord.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ public static function options(string $name, string $path, mixed $handler): self
255255
'name' => $name,
256256
'path' => $path,
257257
'handler' => $handler,
258-
'methods' => ['options'],
258+
'methods' => ['OPTIONS'],
259259
]);
260260
}
261261
}

0 commit comments

Comments
 (0)