mirror of
https://github.com/friendica/friendica
synced 2025-04-25 18:30:11 +00:00
Add \ReturnTypeWillChange attribute to methods inherited from native interfaces
- Part of https://github.com/friendica/friendica/issues/12011#issuecomment-1321796513
This commit is contained in:
parent
01558d6dda
commit
6b555f64da
3 changed files with 11 additions and 6 deletions
|
@ -57,6 +57,7 @@ class Database extends AbstractSessionHandler
|
|||
return true;
|
||||
}
|
||||
|
||||
#[\ReturnTypeWillChange]
|
||||
public function read($id)
|
||||
{
|
||||
if (empty($id)) {
|
||||
|
@ -136,6 +137,7 @@ class Database extends AbstractSessionHandler
|
|||
}
|
||||
}
|
||||
|
||||
#[\ReturnTypeWillChange]
|
||||
public function gc($max_lifetime): bool
|
||||
{
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue