mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +00:00
minors changes
This commit is contained in:
parent
b2b6cb6d6a
commit
44487e3ea3
@ -94,7 +94,7 @@ class Role
|
|||||||
*
|
*
|
||||||
* @return Role
|
* @return Role
|
||||||
*/
|
*/
|
||||||
public function setType(\Chill\EventBundle\Entity\EventType $type = null)
|
public function setType(EventType $type = null)
|
||||||
{
|
{
|
||||||
$this->type = $type;
|
$this->type = $type;
|
||||||
|
|
||||||
|
@ -30,8 +30,6 @@ use Chill\MainBundle\Entity\Scope;
|
|||||||
use Chill\MainBundle\Form\Type\ChillDateTimeType;
|
use Chill\MainBundle\Form\Type\ChillDateTimeType;
|
||||||
use Chill\MainBundle\Form\Type\UserPickerType;
|
use Chill\MainBundle\Form\Type\UserPickerType;
|
||||||
use Chill\MainBundle\Security\Authorization\AuthorizationHelper;
|
use Chill\MainBundle\Security\Authorization\AuthorizationHelper;
|
||||||
use Doctrine\Common\Persistence\ObjectManager;
|
|
||||||
use Doctrine\ORM\EntityRepository;
|
|
||||||
use Symfony\Bridge\Doctrine\Form\Type\EntityType;
|
use Symfony\Bridge\Doctrine\Form\Type\EntityType;
|
||||||
use Symfony\Component\Form\AbstractType;
|
use Symfony\Component\Form\AbstractType;
|
||||||
use Symfony\Component\Form\FormBuilderInterface;
|
use Symfony\Component\Form\FormBuilderInterface;
|
||||||
@ -42,7 +40,7 @@ use Symfony\Component\Security\Core\Role\Role;
|
|||||||
class EventType extends AbstractType
|
class EventType extends AbstractType
|
||||||
{
|
{
|
||||||
|
|
||||||
/** @var the user running this form */
|
/** @var User */
|
||||||
protected $user;
|
protected $user;
|
||||||
|
|
||||||
/** @var AuthorizationHelper */
|
/** @var AuthorizationHelper */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user