Skip to content

Commit 89c1a3c

Browse files
committed
-refactoring
1 parent e84528e commit 89c1a3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Action/DocumentationAction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function __construct(
6060
*/
6161
public function __invoke(?Request $request = null)
6262
{
63-
if ($this->docsEnabled === false) {
63+
if (false === $this->docsEnabled) {
6464
throw new NotFoundHttpException('API documentation is disabled.');
6565
}
6666

0 commit comments

Comments
 (0)