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

@@ -11,8 +11,6 @@ declare(strict_types=1);
namespace Chill\MainBundle\Timeline;
use function strtr;
class TimelineSingleQuery
{
private bool $distinct = false;
@@ -23,12 +21,12 @@ class TimelineSingleQuery
{
$parameters = [];
return strtr(
return \strtr(
'SELECT {distinct} {id} AS id, '
. '{date} AS "date", '
. "'{key}' AS type "
. 'FROM {from} '
. 'WHERE {where}',
.'{date} AS "date", '
."'{key}' AS type "
.'FROM {from} '
.'WHERE {where}',
[
'{distinct}' => $this->distinct ? 'DISTINCT' : '',
'{id}' => $this->getId(),