X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=src%2FValue.php;h=ec43fc140e9f21d83adf00d590600ec8adb913c7;hb=b59f82d97356e3777e2630cb6640382f42ad9670;hp=1e7e28824bb0385847d99ea74e1019de87a30956;hpb=de4444457c6a52c7d9b182403daa4c08dcb2d149;p=plcapi.git diff --git a/src/Value.php b/src/Value.php index 1e7e288..ec43fc1 100644 --- a/src/Value.php +++ b/src/Value.php @@ -518,6 +518,7 @@ class Value implements \Countable, \IteratorAggregate, \ArrayAccess * * @return integer */ + #[\ReturnTypeWillChange] public function count() { switch ($this->mytype) { @@ -538,6 +539,7 @@ class Value implements \Countable, \IteratorAggregate, \ArrayAccess * @return \ArrayIterator * @internal required to be public to implement an Interface */ + #[\ReturnTypeWillChange] public function getIterator() { switch ($this->mytype) { @@ -558,6 +560,7 @@ class Value implements \Countable, \IteratorAggregate, \ArrayAccess * @param mixed $value * @throws \Exception */ + #[\ReturnTypeWillChange] public function offsetSet($offset, $value) { switch ($this->mytype) { @@ -603,6 +606,7 @@ class Value implements \Countable, \IteratorAggregate, \ArrayAccess * @param mixed $offset * @return bool */ + #[\ReturnTypeWillChange] public function offsetExists($offset) { switch ($this->mytype) { @@ -623,6 +627,7 @@ class Value implements \Countable, \IteratorAggregate, \ArrayAccess * @param mixed $offset * @throws \Exception */ + #[\ReturnTypeWillChange] public function offsetUnset($offset) { switch ($this->mytype) { @@ -646,6 +651,7 @@ class Value implements \Countable, \IteratorAggregate, \ArrayAccess * @return mixed|Value|null * @throws \Exception */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { switch ($this->mytype) {