Skip to content

Commit

Permalink
Trait attributes.
Browse files Browse the repository at this point in the history
  • Loading branch information
overtrue committed Dec 5, 2015
1 parent 46b2211 commit 1bce50f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
5 changes: 0 additions & 5 deletions src/AccessToken.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,6 @@ class AccessToken implements AccessTokenInterface, ArrayAccess, JsonSerializable
{
use AttributeTrait;

/**
* @var array
*/
protected $attributes;

/**
* AccessToken constructor.
*
Expand Down
5 changes: 5 additions & 0 deletions src/AttributeTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@
*/
trait AttributeTrait
{
/**
* @var array
*/
protected $attributes;

/**
* Return the attributes.
*
Expand Down
7 changes: 0 additions & 7 deletions src/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,6 @@ class User implements ArrayAccess, UserInterface, JsonSerializable
{
use AttributeTrait;

/**
* The user attributes.
*
* @var array
*/
protected $attributes;

/**
* User constructor.
*
Expand Down

0 comments on commit 1bce50f

Please sign in to comment.