diff --git a/src/Phoenix/EloquentMeta/MetaTrait.php b/src/Phoenix/EloquentMeta/MetaTrait.php index 9cb0c62..83f25fc 100644 --- a/src/Phoenix/EloquentMeta/MetaTrait.php +++ b/src/Phoenix/EloquentMeta/MetaTrait.php @@ -12,7 +12,7 @@ trait MetaTrait */ public function getAllMeta() { - return new Collection($this->meta->pluck('value', 'key')); + return new Collection($this->meta()->pluck('value', 'key')); } /**