Skip to content

Commit

Permalink
Use the strongly typed config facade
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Oct 29, 2023
1 parent 9b4bacd commit 7082519
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/framework/src/Pages/DocumentationPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function getOnlineSourcePath(): string|false

public static function hasTableOfContents(): bool
{
return config('docs.table_of_contents.enabled', true);
return Config::getBool('docs.table_of_contents.enabled', true);
}

/**
Expand Down

0 comments on commit 7082519

Please sign in to comment.