Code cleanup

This commit is contained in:
shalvah
2019-08-25 21:31:55 +01:00
parent 41d2b161cd
commit 448c224e03
2 changed files with 2 additions and 2 deletions

View File

@@ -276,7 +276,7 @@ class GenerateDocumentation extends Command
$phpdoc = new DocBlock($comment);
return collect($phpdoc->getTags())
->filter(function ($tag) use ($action) {
->filter(function ($tag) {
return $tag->getName() === 'hideFromAPIDocumentation';
})
->isEmpty();

View File

@@ -29,7 +29,7 @@ class GenerateDocumentationTest extends TestCase
public function tearDown()
{
//Utils::deleteDirectoryAndContents('/public/docs');
Utils::deleteDirectoryAndContents('/public/docs');
}
/**