Skip to content
This repository was archived by the owner on Mar 19, 2024. It is now read-only.

Commit 09ed438

Browse files
committed
Change var to const in js file
1 parent 298ae2f commit 09ed438

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Console/CreateJSRoutesCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function handle()
5656

5757
$jsonFlags = JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE;
5858

59-
$content = "var routes = ";
59+
$content = "const routes = ";
6060
$content .= json_encode($routes, $jsonFlags);
6161
$content .= ";\n\n";
6262

0 commit comments

Comments
 (0)