mirror of
https://github.com/friendica/friendica
synced 2025-05-05 10:24:09 +02:00
Fix some PHP8.1 issues if possible
This commit is contained in:
parent
3b03da3259
commit
477bec1977
4 changed files with 9 additions and 9 deletions
|
@ -60,7 +60,7 @@ class ReversedFileReader implements \Iterator
|
|||
$this->fh = fopen($filename, 'r');
|
||||
if (!$this->fh) {
|
||||
// this should use a custom exception.
|
||||
throw \Exception("Unable to open $filename");
|
||||
throw new \Exception("Unable to open $filename");
|
||||
}
|
||||
$this->filesize = filesize($filename);
|
||||
$this->pos = -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue