enable and fix errors for event bundle + adding knp-time-bundle

This commit is contained in:
2020-08-04 11:33:56 +02:00
parent 8944d21652
commit f94fb0efc1
5 changed files with 13 additions and 8 deletions

View File

@@ -25,7 +25,7 @@ use Chill\MainBundle\Entity\Scope;
use Chill\MainBundle\Timeline\TimelineProviderInterface;
use Doctrine\ORM\EntityManager;
use Chill\MainBundle\Security\Authorization\AuthorizationHelper;
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage;
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
use Symfony\Component\Security\Core\Role\Role;
use Doctrine\ORM\Mapping\ClassMetadata;
use Chill\PersonBundle\Entity\Person;
@@ -59,12 +59,12 @@ class TimelineEventProvider implements TimelineProviderInterface
*
* @param EntityManager $em
* @param AuthorizationHelper $helper
* @param TokenStorage $storage
* @param TokenStorageInterface $storage
*/
public function __construct(
EntityManager $em,
AuthorizationHelper $helper,
TokenStorage $storage
TokenStorageInterface $storage
) {
$this->em = $em;
$this->helper = $helper;