apply more cs rules for php-cs

This commit is contained in:
2023-10-17 13:27:03 +02:00
parent 0b0cbed9db
commit bc2041cbdd
1485 changed files with 8169 additions and 9620 deletions

View File

@@ -77,7 +77,7 @@ class FetchQuery implements FetchQueryInterface
public function removeWhereClause(int $index): void
{
if (!array_key_exists($index, $this->wheres)) {
throw new \UnexpectedValueException("this index does not exists");
throw new \UnexpectedValueException('this index does not exists');
}
unset($this->wheres[$index], $this->whereParams[$index], $this->whereTypes[$index]);
@@ -86,7 +86,7 @@ class FetchQuery implements FetchQueryInterface
public function removeJoinClause(int $index): void
{
if (!array_key_exists($index, $this->joins)) {
throw new \UnexpectedValueException("this index does not exists");
throw new \UnexpectedValueException('this index does not exists');
}
unset($this->joins[$index], $this->joinParams[$index], $this->joinTypes[$index]);
@@ -102,9 +102,6 @@ class FetchQuery implements FetchQueryInterface
return $this->selectIdentifierJsonB;
}
/**
* @inheritDoc
*/
public function getSelectIdentifierParams(): array
{
return $this->selectIdentifierParams;
@@ -125,9 +122,6 @@ class FetchQuery implements FetchQueryInterface
return $this->selectDateTypes;
}
/**
* @inheritDoc
*/
public function getSelectDateParams(): array
{
return $this->selectDateParams;
@@ -135,12 +129,9 @@ class FetchQuery implements FetchQueryInterface
public function getFromQuery(): string
{
return $this->from . " " . implode(' ', $this->joins);
return $this->from.' '.implode(' ', $this->joins);
}
/**
* @inheritDoc
*/
public function getFromQueryParams(): array
{
$result = [];
@@ -168,9 +159,6 @@ class FetchQuery implements FetchQueryInterface
return implode(' AND ', $this->wheres);
}
/**
* @inheritDoc
*/
public function getWhereQueryParams(): array
{
$result = [];