From 9196e998c8f7979a2d4f72b01b9e9ee8f376b765 Mon Sep 17 00:00:00 2001 From: Jesse Rushlow Date: Fri, 5 Apr 2024 11:21:02 -0400 Subject: [PATCH] ignore is string call in make:entity --- src/Maker/MakeEntity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Maker/MakeEntity.php b/src/Maker/MakeEntity.php index 421e875bc7..75d27f6ca4 100644 --- a/src/Maker/MakeEntity.php +++ b/src/Maker/MakeEntity.php @@ -306,7 +306,7 @@ public function generate(InputInterface $input, ConsoleStyle $io, Generator $gen } foreach ($fileManagerOperations as $path => $manipulatorOrMessage) { - if (\is_string($manipulatorOrMessage)) { + if (\is_string($manipulatorOrMessage)) { /* @phpstan-ignore-line - this appears to always be an instance of CSM */ $io->comment($manipulatorOrMessage); } else { $this->fileManager->dumpFile($path, $manipulatorOrMessage->getSourceCode());