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

Added $options parameter to beforeSave, otherwise cake triggers a "Strict"-warning #335

Merged
merged 1 commit into from Aug 11, 2012

Conversation

Projects
None yet
3 participants
@reinoldus
Contributor

reinoldus commented Aug 11, 2012

...e-acl-controlled-application.rst

Added $options = array() parameter to beforeSave Codesnippet, otherwise CakePHP complains with the following warning:
"Strict (2048): Declaration of User::beforeSave() should be compatible with Model::beforeSave($options = Array) [ROOT/Model/User.php, line 112]"

Update en/tutorials-and-examples/simple-acl-controlled-application/si…
…mple-acl-controlled-application.rst

Added $options = array() parameter to beforeSave Codesnippet, otherwise CakePHP complains with the following error:
"Strict (2048): Declaration of User::beforeSave() should be compatible with Model::beforeSave($options = Array) [ROOT/Model/User.php, line 112]"

shama added a commit that referenced this pull request Aug 11, 2012

Merge pull request #335 from reinoldus/patch-1
Added $options parameter to beforeSave, otherwise cake triggers a "Strict"-warning

@shama shama merged commit 81427d1 into cakephp:master Aug 11, 2012

@shama

This comment has been minimized.

Show comment
Hide comment
@shama

shama Aug 11, 2012

Contributor

Thanks!

Contributor

shama commented Aug 11, 2012

Thanks!

@cgtechnosoft2011

This comment has been minimized.

Show comment
Hide comment
@cgtechnosoft2011

cgtechnosoft2011 Jul 19, 2013

Thanks Dear......It is working......

cgtechnosoft2011 commented Jul 19, 2013

Thanks Dear......It is working......

@cgtechnosoft2011

This comment has been minimized.

Show comment
Hide comment
@cgtechnosoft2011

cgtechnosoft2011 Jul 19, 2013

Thanks Dear.......

cgtechnosoft2011 commented on 2f68a03 Jul 19, 2013

Thanks Dear.......

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