Fix psalm
repod / nextcloud (push) Successful in 1m8s Details
repod / xml (push) Successful in 27s Details
repod / nodejs (push) Successful in 1m52s Details

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" />
</errorLevel>
</InvalidReturnType>
<PropertyNotSetInConstructor>
<errorLevel type="suppress">
<directory name="stubs" />
</errorLevel>
</PropertyNotSetInConstructor>
</issueHandlers>
</psalm>

View File

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

View File

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

View File

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

View File

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