minors changes

This commit is contained in:
Tchama 2019-02-08 18:00:10 +01:00
parent b2b6cb6d6a
commit 44487e3ea3
2 changed files with 2 additions and 4 deletions

View File

@ -94,7 +94,7 @@ class Role
*
* @return Role
*/
public function setType(\Chill\EventBundle\Entity\EventType $type = null)
public function setType(EventType $type = null)
{
$this->type = $type;

View File

@ -30,8 +30,6 @@ use Chill\MainBundle\Entity\Scope;
use Chill\MainBundle\Form\Type\ChillDateTimeType;
use Chill\MainBundle\Form\Type\UserPickerType;
use Chill\MainBundle\Security\Authorization\AuthorizationHelper;
use Doctrine\Common\Persistence\ObjectManager;
use Doctrine\ORM\EntityRepository;
use Symfony\Bridge\Doctrine\Form\Type\EntityType;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
@ -42,7 +40,7 @@ use Symfony\Component\Security\Core\Role\Role;
class EventType extends AbstractType
{
/** @var the user running this form */
/** @var User */
protected $user;
/** @var AuthorizationHelper */