1
0
mirror of https://github.com/rlanvin/php-rrule.git synced 2025-02-26 15:54:14 +01:00

Explicitely using the namespace for LogicException (#3)

This commit is contained in:
rlanvin 2016-02-25 12:35:51 +02:00
parent 897f08d736
commit dc6dc60f65

View File

@ -944,12 +944,12 @@ class RRule implements \Iterator, \ArrayAccess, \Countable
public function offsetSet($offset, $value) public function offsetSet($offset, $value)
{ {
throw new LogicException('Setting a Date in a RRule is not supported'); throw new \LogicException('Setting a Date in a RRule is not supported');
} }
public function offsetUnset($offset) public function offsetUnset($offset)
{ {
throw new LogicException('Unsetting a Date in a RRule is not supported'); throw new \LogicException('Unsetting a Date in a RRule is not supported');
} }
// Countable interface // Countable interface