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

Problem with Snapshot class #19

Closed
i3or1s opened this issue Nov 14, 2011 · 2 comments
Closed

Problem with Snapshot class #19

i3or1s opened this issue Nov 14, 2011 · 2 comments

Comments

@i3or1s
Copy link

i3or1s commented Nov 14, 2011

Problem occurs in method setPage.

Problem is in parameter definition, it does not follow given interface SnapshotInterface
public function setPage($page){
$this->page = $page;
}

Solution is:
public function setPage(PageInterface $page){
$this->page = $page;
}

@rande
Copy link
Member

rande commented Nov 15, 2011

fixed is 7afc50e

@rande rande closed this as completed Nov 15, 2011
@i3or1s
Copy link
Author

i3or1s commented Nov 15, 2011

cool :)
thx for fast response

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

No branches or pull requests

2 participants