mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-27 17:15:02 +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 LogicException;
|
||||
|
||||
/**
|
||||
* Interface for service providing info to timeline.
|
||||
*
|
||||
@@ -55,10 +53,11 @@ interface TimelineProviderInterface
|
||||
* `$context` and `$args` are defined by the bundle which will call the timeline
|
||||
* rendering.
|
||||
*
|
||||
* @param string $context
|
||||
* @param mixed[] $args the argument to the context.
|
||||
* @param string $context
|
||||
* @param mixed[] $args the argument to the context
|
||||
*
|
||||
* @return string[]
|
||||
*
|
||||
* @throw \LogicException if the context is not supported
|
||||
*/
|
||||
public function fetchQuery($context, array $args);
|
||||
@@ -106,9 +105,9 @@ interface TimelineProviderInterface
|
||||
* @param type $entity
|
||||
* @param type $context
|
||||
*
|
||||
* @throws LogicException if the context is not supported
|
||||
*
|
||||
* @return mixed[]
|
||||
*
|
||||
* @throws \LogicException if the context is not supported
|
||||
*/
|
||||
public function getEntityTemplate($entity, $context, array $args);
|
||||
|
||||
|
Reference in New Issue
Block a user