Fix style

This commit is contained in:
Barry vd. Heuvel
2024-02-18 11:49:00 +01:00
parent 25f0c78e26
commit c2f2e206b2
-3
View File
@@ -45,7 +45,6 @@ use phpDocumentor\Reflection\DocBlock\StandardTagFactory;
use phpDocumentor\Reflection\DocBlock\Tag; use phpDocumentor\Reflection\DocBlock\Tag;
use phpDocumentor\Reflection\DocBlock\TagFactory; use phpDocumentor\Reflection\DocBlock\TagFactory;
use phpDocumentor\Reflection\DocBlock\Tags\BaseTag; use phpDocumentor\Reflection\DocBlock\Tags\BaseTag;
use phpDocumentor\Reflection\DocBlock\Tags\Property;
use phpDocumentor\Reflection\DocBlockFactory; use phpDocumentor\Reflection\DocBlockFactory;
use phpDocumentor\Reflection\FqsenResolver; use phpDocumentor\Reflection\FqsenResolver;
use phpDocumentor\Reflection\TypeResolver; use phpDocumentor\Reflection\TypeResolver;
@@ -980,13 +979,11 @@ class ModelsCommand extends Command
* @see https://www.jetbrains.com/help/phpstorm/php-unnecessary-fully-qualified-name.html * @see https://www.jetbrains.com/help/phpstorm/php-unnecessary-fully-qualified-name.html
*/ */
$tags[] = $tagFactory->create('@noinspection PhpUnnecessaryFullyQualifiedNameInspection', $phpDocContext); $tags[] = $tagFactory->create('@noinspection PhpUnnecessaryFullyQualifiedNameInspection', $phpDocContext);
} }
$serializer = new Serializer(); $serializer = new Serializer();
if ($this->write_mixin) { if ($this->write_mixin) {
// remove all mixin tags prefixed with IdeHelper // remove all mixin tags prefixed with IdeHelper
$mixinTags = array_filter($existingTags, function (Tag $tag) { $mixinTags = array_filter($existingTags, function (Tag $tag) {
return !($tag instanceof BaseTag) || !Str::startsWith($tag->getDescription(), 'IdeHelper'); return !($tag instanceof BaseTag) || !Str::startsWith($tag->getDescription(), 'IdeHelper');