Skip to content

Commit

Permalink
Fixed code style
Browse files Browse the repository at this point in the history
  • Loading branch information
tabuna authored and github-actions[bot] committed Nov 20, 2024
1 parent 72b33a8 commit 767bb5c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/Http/Controllers/DocsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ class DocsController extends Controller
*
* @return \Illuminate\View\View|
*/
public function show(string $version = Docs::DEFAULT_VERSION, string $page = null)
public function show(string $version = Docs::DEFAULT_VERSION, ?string $page = null)
{
abort_if(
$page === null,
redirect(status: 300)->route('docs', ['version' => $version, 'page' => Docs::DEFAULT_DOCUMENT])
$page === null,
redirect(status: 300)->route('docs', ['version' => $version, 'page' => Docs::DEFAULT_DOCUMENT])
);

$docs = new Docs($version, $page);
Expand Down

0 comments on commit 767bb5c

Please sign in to comment.