type fixes
This commit is contained in:
@@ -32,8 +32,12 @@ namespace Espo\Repositories;
|
||||
use Espo\ORM\Entity;
|
||||
|
||||
use Espo\Core\Utils\Util;
|
||||
use Espo\Core\Repositories\Database;
|
||||
|
||||
class UniqueId extends \Espo\Core\Repositories\Database
|
||||
/**
|
||||
* @extends Database<\Espo\Entities\UniqueId>
|
||||
*/
|
||||
class UniqueId extends Database
|
||||
{
|
||||
protected $hooksDisabled = true;
|
||||
|
||||
|
||||
@@ -161,6 +161,9 @@ class User extends Database
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string[] $teamIds
|
||||
*/
|
||||
public function checkBelongsToAnyOfTeams(string $userId, array $teamIds): bool
|
||||
{
|
||||
if (empty($teamIds)) {
|
||||
|
||||
@@ -33,7 +33,12 @@ use Espo\ORM\Entity;
|
||||
|
||||
use Espo\Core\Utils\Util;
|
||||
|
||||
class Webhook extends \Espo\Core\Repositories\Database
|
||||
use \Espo\Core\Repositories\Database;
|
||||
|
||||
/**
|
||||
* @extends Database<\Espo\Entities\Webhook>
|
||||
*/
|
||||
class Webhook extends Database
|
||||
{
|
||||
protected $hooksDisabled = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user