Add hasOneThrough to ide-helper:models (#807)

Added missing relation type.
This commit is contained in:
Alex
2019-09-16 14:33:30 +02:00
committed by Barry vd. Heuvel
parent 51a72d7766
commit 428d32cebd
+1
View File
@@ -473,6 +473,7 @@ class ModelsCommand extends Command
foreach (array(
'hasMany' => '\Illuminate\Database\Eloquent\Relations\HasMany',
'hasManyThrough' => '\Illuminate\Database\Eloquent\Relations\HasManyThrough',
'hasOneThrough' => '\Illuminate\Database\Eloquent\Relations\HasOneThrough',
'belongsToMany' => '\Illuminate\Database\Eloquent\Relations\BelongsToMany',
'hasOne' => '\Illuminate\Database\Eloquent\Relations\HasOne',
'belongsTo' => '\Illuminate\Database\Eloquent\Relations\BelongsTo',