Accept calling setLenient(false)

This commit is contained in:
Francesc Rosàs 2012-05-31 04:28:05 +03:00
parent 49e213ce7c
commit cea6489ddf

View File

@ -416,12 +416,14 @@ class StubIntlDateFormatter
* *
* @see http://www.php.net/manual/en/intldateformatter.setlenient.php * @see http://www.php.net/manual/en/intldateformatter.setlenient.php
* *
* @throws MethodNotImplementedException * @throws MethodNotImplementedException When $lenient is true
*/ */
public function setLenient($lenient) public function setLenient($lenient)
{ {
if ($lenient) {
throw new MethodNotImplementedException(__METHOD__); throw new MethodNotImplementedException(__METHOD__);
} }
}
/** /**
* Set the formatter's pattern * Set the formatter's pattern