Skip to content

Commit

Permalink
Fix Resource parsing of private-attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
nohponex committed May 27, 2016
1 parent 326851a commit 2e1766b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resource.php
Expand Up @@ -248,7 +248,7 @@ public static function parseFromRecord(
}

if (count((array) $privateAttributes)) {
$resource->attributes = $privateAttributes;
$resource->{'private-attributes'} = $privateAttributes;
}

if ($flagAttributes) {
Expand Down

0 comments on commit 2e1766b

Please sign in to comment.