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

Use type hints in Seraliser classes #256

Merged
merged 2 commits into from
Nov 1, 2015
Merged

Conversation

ragol
Copy link
Contributor

@ragol ragol commented Oct 30, 2015

As discussed in #255 I reorganised my commits. This pull request is only for type hints in Serialiser class tree.

PHP 5.3 supports type hinting so there is almost no reason to
implement type checks. Corresponding unit tests are also not necessary.

SerialiserTest is for the Serialiser class, not MockSerialiser.
Therefore we must treat $this->serialiser as an instance of Serialiser
and not MockSerialiser.
njh added a commit that referenced this pull request Nov 1, 2015
Use type hints in Seraliser classes
@njh njh merged commit 1371c8a into easyrdf:master Nov 1, 2015
@njh
Copy link
Collaborator

njh commented Nov 1, 2015

Thanks!

@ragol ragol deleted the serialiser-typehint branch November 2, 2015 09:41
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