Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
timacdonald committed Oct 11, 2023
1 parent 0628a90 commit 3a88e6c
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,6 @@ use TiMacDonald\JsonApi\JsonApiResource;

class UserResource extends JsonApiResource
{
/**
* @var string[]
*/
public $attributes = [
'name',
'website',
Expand Down Expand Up @@ -163,18 +160,12 @@ use TiMacDonald\JsonApi\JsonApiResource;

class UserResource extends JsonApiResource
{
/**
* @var string[]
*/
public $attributes = [
'name',
'website',
'twitter_handle',
];

/**
* @var array<string, class-string<JsonApiResource>>
*/
public $relationships = [
'team' => TeamResource::class,
'posts' => PostResource::class,
Expand All @@ -193,18 +184,12 @@ use TiMacDonald\JsonApi\JsonApiResource;

class UserResource extends JsonApiResource
{
/**
* @var string[]
*/
public $attributes = [
'name',
'website',
'twitter_handle',
];

/**
* @var string[]
*/
public $relationships = [
'team',
'posts',
Expand Down

0 comments on commit 3a88e6c

Please sign in to comment.