Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix phpcs #803

Merged
merged 2 commits into from
Sep 8, 2019
Merged

Fix phpcs #803

merged 2 commits into from
Sep 8, 2019

Conversation

liquid207
Copy link
Contributor

Fix job phpcs -p --standard=PSR2 src/ fail in github Travis CI.

$type = (string) $reflection->getReturnType() ?: (string)$this->getReturnTypeFromDocBlock($reflection);
$type = (string) $reflection->getReturnType()
? (string) $reflection->getReturnType()
: (string)$this->getReturnTypeFromDocBlock($reflection);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Still looks slightly wrong:
? (string) $re…
vs
: (string)$thi

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I saw Travis CI passed, but not good enough do you have a better way?

@barryvdh barryvdh merged commit d344cdc into barryvdh:master Sep 8, 2019
@liquid207 liquid207 deleted the fix-phpcs branch September 12, 2019 09:25
@liquid207 liquid207 restored the fix-phpcs branch September 12, 2019 09:25
@liquid207 liquid207 deleted the fix-phpcs branch September 12, 2019 09:27
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants