Bug #6118

Integer arguments are not validated automatically

Added by Robert Lemke almost 9 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Should have
Category:
MVC
Start date:
2010-01-20
Due date:
% Done:

0%

PHP Version:
Has patch:
Complexity:

Description

The annotation

@param integer $argument

does not add a Number or similar validator automatically

History

#1 Updated by Robert Lemke almost 9 years ago

  • Assignee set to Karsten Dambekalns

#2 Updated by Karsten Dambekalns almost 9 years ago

  • Status changed from New to Needs Feedback

Under what circumstances? Controller actions? Model actions?

#3 Updated by Karsten Dambekalns almost 9 years ago

  • Status changed from Needs Feedback to Resolved

Works as expected for int, integer, float as parameters to methods in controllers. Seems it got fixed along the way...

Also available in: Atom PDF