[make:entity] generate()
call to is_string()
appears to always evaluate to false
#1509
Labels
Bug
Bug Fix
maker-bundle/src/Maker/MakeEntity.php
Line 309 in f7ee250
I believe
$manipulatorOrMessage
is always an instance ofClassSourceManipulator
but I may be wrong. This could be an artifact leftover from previous versions where we did display a message. We need to confirm what use case would cause this not to be an instance ofCSM
.For debugging:
$manipulatorOrMessage instanceOf ClassSourceManipulator
->getSourceCode()
&& exit early.dump($manipulatorOrMessage)
in the else statement.The text was updated successfully, but these errors were encountered: