Skip to content
This repository was archived by the owner on Jan 30, 2020. It is now read-only.

Conversation

@samsonasik
Copy link
Contributor

  • Is this related to quality assurance?
  • Is this related to documentation?

As when no "Cookie" header, it will return false.

*
* @convenience $request->getHeaders()->get('Cookie');
* @return Header\Cookie|bool
* @return Header\Cookie|false
Copy link
Member

Choose a reason for hiding this comment

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

false is not a type: it's a value.

This change is invalid, sorry.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@Ocramius Type can be explicit boolean value based on it http://docs.phpdoc.org/guides/types.html

Copy link
Member

Choose a reason for hiding this comment

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

That's still not a type - even if phpdocumentor supports it, that is a mistake

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants