1
0
mirror of https://github.com/rlanvin/php-rrule.git synced 2024-11-28 05:24:10 +01:00

deprecation messages supress without braking backward compatibility

This commit is contained in:
Janusz Paszyński 2022-06-08 09:27:28 +02:00 committed by Rémi Lanvin
parent 32bab843e4
commit 601e2cccfb
2 changed files with 8 additions and 0 deletions

View File

@ -916,6 +916,7 @@ class RRule implements RRuleInterface
/**
* @internal
* @return bool
*/
#[\ReturnTypeWillChange]
public function offsetExists($offset)
@ -925,6 +926,7 @@ class RRule implements RRuleInterface
/**
* @internal
* @return mixed
*/
#[\ReturnTypeWillChange]
public function offsetGet($offset)
@ -958,6 +960,7 @@ class RRule implements RRuleInterface
/**
* @internal
* @return void
*/
#[\ReturnTypeWillChange]
public function offsetSet($offset, $value)
@ -967,6 +970,7 @@ class RRule implements RRuleInterface
/**
* @internal
* @return void
*/
#[\ReturnTypeWillChange]
public function offsetUnset($offset)

View File

@ -488,6 +488,7 @@ class RSet implements RRuleInterface
/**
* @internal
* @return bool
*/
#[\ReturnTypeWillChange]
public function offsetExists($offset)
@ -497,6 +498,7 @@ class RSet implements RRuleInterface
/**
* @internal
* @return mixed
*/
#[\ReturnTypeWillChange]
public function offsetGet($offset)
@ -530,6 +532,7 @@ class RSet implements RRuleInterface
/**
* @internal
* @return void
*/
#[\ReturnTypeWillChange]
public function offsetSet($offset, $value)
@ -539,6 +542,7 @@ class RSet implements RRuleInterface
/**
* @internal
* @return void
*/
#[\ReturnTypeWillChange]
public function offsetUnset($offset)