mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 08:53:37 +01:00
replace mixed return-type with #[\ReturnTypeWillChange] annotation to keep PHP 7.3 requirement
This commit is contained in:
parent
c7d7f3a304
commit
0ec9ce58cd
@ -120,7 +120,8 @@ class CallbackIterator implements \Iterator
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
public function current(): mixed
|
||||
#[\ReturnTypeWillChange]
|
||||
public function current()
|
||||
{
|
||||
if (is_a($this->rs,'iterator'))
|
||||
{
|
||||
@ -136,7 +137,8 @@ class CallbackIterator implements \Iterator
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
public function key(): mixed
|
||||
#[\ReturnTypeWillChange]
|
||||
public function key()
|
||||
{
|
||||
if (is_a($this->rs,'iterator'))
|
||||
{
|
||||
|
@ -908,7 +908,8 @@ class Account implements \ArrayAccess
|
||||
* @param string $offset
|
||||
* @return mixed
|
||||
*/
|
||||
public function offsetGet($offset): mixed
|
||||
#[\ReturnTypeWillChange]
|
||||
public function offsetGet($offset)
|
||||
{
|
||||
return $this->__get($offset);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user