Handle substitution

This commit is contained in:
Nicolas Le Goff
2014-10-16 15:16:44 +02:00
parent 392ff21d51
commit 1dddcbd3c6
6 changed files with 39 additions and 26 deletions

View File

@@ -1873,7 +1873,7 @@ class record_adapter implements RecordInterface, cache_cacheableInterface
}
/** {@inheritdoc} */
public function setCreated(\DateTime $created)
public function setCreated(\DateTime $created = null)
{
throw new \BadMethodCallException(sprintf('Method %s::%s is not implemented', __CLASS__, __METHOD__));
}
@@ -1971,7 +1971,7 @@ class record_adapter implements RecordInterface, cache_cacheableInterface
}
/** {@inheritdoc} */
public function setUpdated(\DateTime $updated)
public function setUpdated(\DateTime $updated = null)
{
throw new \BadMethodCallException(sprintf('Method %s::%s is not implemented', __CLASS__, __METHOD__));
}