Skip to content

Commit

Permalink
chore: format code
Browse files Browse the repository at this point in the history
  • Loading branch information
mychidarko committed Mar 1, 2023
1 parent 8ebc7f7 commit d22dad9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
*/
function auth()
{
if (!(\Leaf\Config::get("auth.instance"))) {
\Leaf\Config::set("auth.instance", new Leaf\Auth());
if (!(\Leaf\Config::get('auth.instance'))) {
\Leaf\Config::set('auth.instance', new Leaf\Auth());
}

return \Leaf\Config::get("auth.instance");
return \Leaf\Config::get('auth.instance');
}
}

Expand Down

0 comments on commit d22dad9

Please sign in to comment.