Accept calling setLenient(false)
This commit is contained in:
parent
9a5e6c9081
commit
789fc14145
@ -416,12 +416,14 @@ class StubIntlDateFormatter
|
||||
*
|
||||
* @see http://www.php.net/manual/en/intldateformatter.setlenient.php
|
||||
*
|
||||
* @throws MethodNotImplementedException
|
||||
* @throws MethodNotImplementedException When $lenient is true
|
||||
*/
|
||||
public function setLenient($lenient)
|
||||
{
|
||||
if ($lenient) {
|
||||
throw new MethodNotImplementedException(__METHOD__);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the formatter's pattern
|
||||
|
Reference in New Issue
Block a user