Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CS Fixes #121

Merged
merged 2 commits into from
Nov 10, 2014
Merged

CS Fixes #121

merged 2 commits into from
Nov 10, 2014

Conversation

GrahamCampbell
Copy link
Member

I've just passed the repo through php-cs-fixer.

return $this;
}

/**
* Set the resource key.
*
* @param string $resourceKey
* @param string $resourceKey
Copy link
Member

Choose a reason for hiding this comment

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

What is this doing? This is not "better", its just weird.

Copy link
Member Author

Choose a reason for hiding this comment

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

I'll manually fix this. It's happended because the @return annotations are meant to be separated.

    /**
     * Set the resource key.
     *
     * @param string $resourceKey
     *
     * @return \League\Fractal\Resource\ResourceAbstract
     */

@GrahamCampbell
Copy link
Member Author

@philsturgeon Pushed the fix commit. Totally manual this time. :)

cad6410

philsturgeon added a commit that referenced this pull request Nov 10, 2014
@philsturgeon philsturgeon merged commit 4f2da2c into thephpleague:master Nov 10, 2014
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.

None yet

2 participants