Skip to content

Commit

Permalink
Merge pull request #24 from Vasiliy-Bondarenko/patch-1
Browse files Browse the repository at this point in the history
i believe it must be method call here :)
  • Loading branch information
Michael Wilson authored May 30, 2017
2 parents bd076db + c1f4f63 commit 72174e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Phoenix/EloquentMeta/MetaTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
}

/**
Expand Down

0 comments on commit 72174e5

Please sign in to comment.