Skip to content

Commit 767bb5c

Browse files
tabunagithub-actions[bot]
authored andcommitted
Fixed code style
1 parent 72b33a8 commit 767bb5c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/Http/Controllers/DocsController.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ class DocsController extends Controller
1919
*
2020
* @return \Illuminate\View\View|
2121
*/
22-
public function show(string $version = Docs::DEFAULT_VERSION, string $page = null)
22+
public function show(string $version = Docs::DEFAULT_VERSION, ?string $page = null)
2323
{
2424
abort_if(
25-
$page === null,
26-
redirect(status: 300)->route('docs', ['version' => $version, 'page' => Docs::DEFAULT_DOCUMENT])
25+
$page === null,
26+
redirect(status: 300)->route('docs', ['version' => $version, 'page' => Docs::DEFAULT_DOCUMENT])
2727
);
2828

2929
$docs = new Docs($version, $page);

0 commit comments

Comments
 (0)