Fix PHPDoc return type for belongsToMany relations
This commit is contained in:
@@ -88,7 +88,7 @@ class Component extends Model implements TransformableInterface
|
||||
/**
|
||||
* Components can have many tags.
|
||||
*
|
||||
* @return \Illuminate\Database\Eloquent\Relations\HasMany
|
||||
* @return \Illuminate\Database\Eloquent\Relations\BelongsToMany
|
||||
*/
|
||||
public function tags()
|
||||
{
|
||||
|
||||
@@ -34,7 +34,7 @@ class Tag extends Model
|
||||
/**
|
||||
* Tags can have many components.
|
||||
*
|
||||
* @return \Illuminate\Database\Eloquent\Relations\HasMany
|
||||
* @return \Illuminate\Database\Eloquent\Relations\BelongsToMany
|
||||
*/
|
||||
public function components()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user