Accept calling setLenient(false)
This commit is contained in:
parent
49e213ce7c
commit
cea6489ddf
@ -416,11 +416,13 @@ 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)
|
||||||
{
|
{
|
||||||
throw new MethodNotImplementedException(__METHOD__);
|
if ($lenient) {
|
||||||
|
throw new MethodNotImplementedException(__METHOD__);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user