Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
taufik-nurrohman committed Jan 26, 2025
1 parent fedf492 commit 9c5ff56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace {
function layout(...$lot) {
return \count($lot) < 2 ? \Layout::of(...$lot) : \Layout::set(...$lot);
return \count($lot) < 2 ? \Layout::get(...$lot) : \Layout::set(...$lot);
}
\lot('date', \lot('time', new \Time($_SERVER['REQUEST_TIME'] ?? \time())));
// Alias for `State`
Expand Down

0 comments on commit 9c5ff56

Please sign in to comment.