Skip to content

Conversation

@e0ipso
Copy link
Member

@e0ipso e0ipso commented Jun 27, 2016

If the relationship contains a resource but the fullView is set
to FALSE, we should not consider that element for inclusion.

If the relationship contains a resource but the fullView is set
to FALSE, we should not consider that element for inclusion.
),
));
$links['self'] = $resource_plugin->versionedUrl($parent_id . '/relationships/' . $public_field_name);
return $links;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you probably don't need that, or change IF to return early.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right. PHPStorm refactor feature is very smart, but needs human 👀 on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants