We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33a77c8 commit 4c7065aCopy full SHA for 4c7065a
src/Console/GenerateCommand.php
@@ -277,7 +277,6 @@ protected function getPropertiesFromMethods($model)
277
if ($pos = stripos($code, $search)) {
278
$relationObj = $model->$method();
279
if ($relationObj instanceof Relation) {
280
- echo 'found method: ', $method, PHP_EOL;
281
$this->setProperty($relationObj->getForeignKeyName(), 'factory(' . get_class($relationObj->getRelated()) . '::class)');
282
}
283
0 commit comments