We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e84528e commit 89c1a3cCopy full SHA for 89c1a3c
src/Symfony/Action/DocumentationAction.php
@@ -60,7 +60,7 @@ public function __construct(
60
*/
61
public function __invoke(?Request $request = null)
62
{
63
- if ($this->docsEnabled === false) {
+ if (false === $this->docsEnabled) {
64
throw new NotFoundHttpException('API documentation is disabled.');
65
}
66
0 commit comments