mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-06 06:44:59 +00:00
apply more cs rules for php-cs
This commit is contained in:
@@ -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(),
|
||||
|
Reference in New Issue
Block a user