Skip to content

Commit

Permalink
#176. Fix to OPTION_NO_DOCS
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurkushman committed Jun 26, 2019
1 parent 8a71d43 commit ea14181
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Blocks/Controllers.php
Expand Up @@ -64,7 +64,7 @@ protected function setContent()
$this->setComment(DefaultInterface::PROPS_START);
$this->setComment(DefaultInterface::PROPS_END);

if (empty($this->generator->options[ConsoleInterface::OPTION_REGENERATE])) {
if (empty($this->generator->options[ConsoleInterface::OPTION_NO_DOCS])) {
$this->setControllersDocs();
}

Expand Down Expand Up @@ -92,7 +92,7 @@ private function setDefaultContent()
$this->setComment(DefaultInterface::PROPS_START);
$this->setComment(DefaultInterface::PROPS_END);

if (empty($this->generator->options[ConsoleInterface::OPTION_REGENERATE])) {
if (empty($this->generator->options[ConsoleInterface::OPTION_NO_DOCS])) {
$this->setDefaultDocs();
}

Expand Down

0 comments on commit ea14181

Please sign in to comment.