Use callable as type hint instead of Callback
PHP 5.4 introduces callable for type hinting and PSR-5 proposes callable.
This commit is contained in:
parent
e5091ec835
commit
ea1f51ad9a
|
@ -39,7 +39,7 @@ class Form extends Zend_Form
|
|||
/**
|
||||
* The callback to call instead of Form::onSuccess()
|
||||
*
|
||||
* @var Callback
|
||||
* @var callable
|
||||
*/
|
||||
protected $onSuccess;
|
||||
|
||||
|
|
Loading…
Reference in New Issue