Fix strict warnings on Validation class.

This commit is contained in:
mark_story 2011-10-19 23:18:46 -04:00
parent 25e9aaf6c8
commit 535b45b600

View file

@ -336,7 +336,7 @@ class Validation {
* @see Validation::date
* @see Validation::time
*/
public function datetime($check, $dateFormat = 'ymd', $regex = null) {
public static function datetime($check, $dateFormat = 'ymd', $regex = null) {
$valid = false;
$parts = explode(' ', $check);
if (!empty($parts) && count($parts) > 1) {