Fix psalm
All checks were successful
repod / nextcloud (push) Successful in 1m8s
repod / xml (push) Successful in 27s
repod / nodejs (push) Successful in 1m52s

This commit is contained in:
Michel Roux 2023-12-23 16:50:52 +00:00
parent 910d866e56
commit c8f2e33b57
5 changed files with 12 additions and 5 deletions

View File

@ -35,10 +35,5 @@
<directory name="stubs" /> <directory name="stubs" />
</errorLevel> </errorLevel>
</InvalidReturnType> </InvalidReturnType>
<PropertyNotSetInConstructor>
<errorLevel type="suppress">
<directory name="stubs" />
</errorLevel>
</PropertyNotSetInConstructor>
</issueHandlers> </issueHandlers>
</psalm> </psalm>

View File

@ -31,6 +31,8 @@ use OCP\AppFramework\Db\Entity;
*/ */
class EpisodeActionEntity extends Entity implements \JsonSerializable class EpisodeActionEntity extends Entity implements \JsonSerializable
{ {
public $id;
/** /**
* @return EpisodeActionType[] * @return EpisodeActionType[]
*/ */

View File

@ -13,6 +13,10 @@ use OCP\IDBConnection;
*/ */
class EpisodeActionMapper extends QBMapper class EpisodeActionMapper extends QBMapper
{ {
protected $tableName;
protected $entityClass;
protected $db;
public function __construct(IDBConnection $db) {} public function __construct(IDBConnection $db) {}
/** /**

View File

@ -8,6 +8,8 @@ use OCP\AppFramework\Db\Entity;
class SubscriptionChangeEntity extends Entity implements \JsonSerializable class SubscriptionChangeEntity extends Entity implements \JsonSerializable
{ {
public $id;
/** /**
* @return array<string,mixed> * @return array<string,mixed>
*/ */

View File

@ -12,6 +12,10 @@ use OCP\IDBConnection;
*/ */
class SubscriptionChangeMapper extends QBMapper class SubscriptionChangeMapper extends QBMapper
{ {
protected $tableName;
protected $entityClass;
protected $db;
public function __construct(IDBConnection $db) {} public function __construct(IDBConnection $db) {}
/** /**