Add type hints from DocBlocks

This commit is contained in:
Shift
2023-05-24 21:33:16 +00:00
parent 979b9f704c
commit 4d7d0ed74d
46 changed files with 191 additions and 190 deletions

View File

@@ -36,7 +36,7 @@ class Attachment extends Model
*
* @return MorphTo
*/
public function attachable()
public function attachable(): MorphTo
{
return $this->morphTo();
}
@@ -46,7 +46,7 @@ class Attachment extends Model
*
* @return BelongsTo
*/
public function media()
public function media(): BelongsTo
{
return $this->belongsTo(Media::class);
}