mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-16 20:05:14 +02:00
Some more deprecation fixups
This commit is contained in:
parent
00cd346255
commit
f68dd99518
5 changed files with 20 additions and 5 deletions
|
@ -37,7 +37,7 @@ class Intercept extends php_user_filter
|
|||
public static $cache = '';
|
||||
|
||||
/** @noinspection PhpMissingParentCallCommonInspection */
|
||||
public function filter($in, $out, &$consumed, $closing)
|
||||
public function filter($in, $out, &$consumed, $closing): int
|
||||
{
|
||||
while ($bucket = stream_bucket_make_writeable($in)) {
|
||||
self::$cache .= $bucket->data;
|
||||
|
|
|
@ -30,6 +30,15 @@ class DatabaseTest extends FixtureTest
|
|||
{
|
||||
use CreateDatabaseTrait;
|
||||
|
||||
/**
|
||||
* @var Cache
|
||||
*/
|
||||
protected $configCache;
|
||||
/**
|
||||
* @var ConfigFileManager
|
||||
*/
|
||||
protected $configFileManager;
|
||||
|
||||
protected function setUp(): void
|
||||
{
|
||||
$this->setUpVfsDir();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue