mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
fixed php stan issue
This commit is contained in:
@@ -210,12 +210,6 @@ parameters:
|
||||
count: 1
|
||||
path: src/Appwrite/Auth/Validator/PersonalData.php
|
||||
|
||||
-
|
||||
message: '#^PHPDoc tag @var above a method has no effect\.$#'
|
||||
identifier: varTag.misplaced
|
||||
count: 1
|
||||
path: src/Appwrite/Databases/TransactionState.php
|
||||
|
||||
-
|
||||
message: '#^PHPDoc tag @param has invalid value \(DeviceDetector\)\: Unexpected token "\\n ", expected variable at offset 32 on line 2$#'
|
||||
identifier: phpDoc.parseError
|
||||
|
||||
@@ -56,7 +56,7 @@ class Migrations extends Action
|
||||
protected Document $sourceProject;
|
||||
|
||||
/**
|
||||
* @var callable(Document $database, ?Document $projectDocument = null): Database
|
||||
* @var callable
|
||||
*/
|
||||
protected mixed $getDatabasesDB;
|
||||
|
||||
|
||||
@@ -76,7 +76,6 @@ class HeadersTest extends TestCase
|
||||
];
|
||||
$this->assertFalse($this->object->isValid($headers));
|
||||
|
||||
// @phpstan-ignore-next-line
|
||||
$headers = [
|
||||
null => 'value',
|
||||
];
|
||||
|
||||
@@ -16,7 +16,7 @@ class MessagingChannelsTest extends TestCase
|
||||
*/
|
||||
public $connectionsPerChannel = 10;
|
||||
|
||||
public Realtime $realtime;
|
||||
public ?Realtime $realtime = null;
|
||||
public $connectionsCount = 0;
|
||||
public $connectionsAuthenticated = 0;
|
||||
public $connectionsGuest = 0;
|
||||
|
||||
Reference in New Issue
Block a user