mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
fix query in timeline in activity and person bundle
This commit is contained in:
@@ -28,8 +28,6 @@ use Doctrine\ORM\NativeQuery;
|
||||
|
||||
/**
|
||||
* Build timeline
|
||||
*
|
||||
* @author Julien Fastré <julien.fastre@champs-libres.coop>
|
||||
*/
|
||||
class TimelineBuilder implements ContainerAwareInterface
|
||||
{
|
||||
|
@@ -38,12 +38,12 @@ class TimelineSingleQuery
|
||||
public static function fromArray(array $a)
|
||||
{
|
||||
return new TimelineSingleQuery(
|
||||
$a['id'],
|
||||
$a['date'],
|
||||
$a['type'] ?? $a['key'],
|
||||
$a['FROM'] ?? $a['from'],
|
||||
$a['WHERE'] ?? $a['where'],
|
||||
$a['parameters']);
|
||||
$a['id'] ?? null,
|
||||
$a['date'] ?? null,
|
||||
$a['type'] ?? $a['key'] ?? null,
|
||||
$a['FROM'] ?? $a['from'] ?? null,
|
||||
$a['WHERE'] ?? $a['where'] ?? null,
|
||||
$a['parameters'] ?? null);
|
||||
}
|
||||
|
||||
public function getId(): string
|
||||
|
Reference in New Issue
Block a user