Skip to content

Commit

Permalink
fix overriding active record implementations of fields() and extraFie…
Browse files Browse the repository at this point in the history
…lds() (#22)
  • Loading branch information
Faryshta authored Jul 21, 2018
1 parent b11a9ac commit 3c41189
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/hal/EmbeddableTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,16 @@ trait EmbeddableTrait
{
use ArrayableTrait;

/**
* @inheritdoc
*/
public abstract function fields();

/**
* @inheritdoc
*/
public abstract function extraFields();

/**
* @inheritdoc
*/
Expand Down

0 comments on commit 3c41189

Please sign in to comment.