cs fix
Signed-off-by: dartcafe <github@dartcafe.de>
This commit is contained in:
Родитель
0cfffdb46e
Коммит
958d8432ca
|
@ -154,9 +154,8 @@ class LogMapper extends QBMapper {
|
|||
public function deleteByUserId(string $userId): void {
|
||||
$query = $this->db->getQueryBuilder();
|
||||
$query->delete($this->getTableName())
|
||||
->where('user_id = :userId')
|
||||
->setParameter('userId', $userId);
|
||||
$query->execute();
|
||||
->where('user_id = :userId')
|
||||
->setParameter('userId', $userId);
|
||||
$query->execute();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -100,5 +100,4 @@ class PollMapper extends QBMapper {
|
|||
->setParameter('userId', $userId);
|
||||
$query->execute();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -94,11 +94,11 @@ class PreferencesMapper extends QBMapper {
|
|||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function deleteByUserId($userId){
|
||||
public function deleteByUserId(string $userId): void {
|
||||
$query = $this->db->getQueryBuilder();
|
||||
$query->delete($this->getTableName())
|
||||
->where('user_id = :userId')
|
||||
->setParameter('userId', $userId);
|
||||
$query->execute();
|
||||
->where('user_id = :userId')
|
||||
->setParameter('userId', $userId);
|
||||
$query->execute();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -122,9 +122,9 @@ class ShareMapper extends QBMapper {
|
|||
public function deleteByUserId(string $userId): void {
|
||||
$query = $this->db->getQueryBuilder();
|
||||
$query->delete($this->getTableName())
|
||||
->where('user_id = :userId')
|
||||
->setParameter('userId', $userId);
|
||||
$query->execute();
|
||||
->where('user_id = :userId')
|
||||
->setParameter('userId', $userId);
|
||||
$query->execute();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -143,10 +143,8 @@ class SubscriptionMapper extends QBMapper {
|
|||
public function deleteByUserId(string $userId): void {
|
||||
$query = $this->db->getQueryBuilder();
|
||||
$query->delete($this->getTableName())
|
||||
->where('user_id = :userId')
|
||||
->setParameter('userId', $userId);
|
||||
$query->execute();
|
||||
->where('user_id = :userId')
|
||||
->setParameter('userId', $userId);
|
||||
$query->execute();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче