fixed PHP Strict standards:  Declaration error.
Merge pull request #311 from rmzamora/patch-register-action-01

fixed PHP Strict standards:  Declaration error.