Generate comment blocks with model relationships
striderwhitepderas opened this issue · 2 comments
striderwhitepderas commented
Synopsis:
It would be nice if blueprint generated relationships with a comment block/header. At minimum where it stipulated its return type.
Proposed Syntax:
For example, stipulate the return type in the comment header
/**
* @return \Illuminate\Database\Eloquent\Relations\HasMany
*/
public function clips()
{
return $this->hasMany(Clip::class);
}
jasonmccreary commented
Does this not happen if you enable the DocBlock comments within the configuration?
jasonmccreary commented
Closing as the new default behavior is to add the return type hint.