title: symfony2 fatal error in form declaration
body: <p>When I visit my browser this is what i get:</p>
  
  <pre><code>Fatal error: Declaration of Ecs\CrmBundle\Form\Parts\DepartmentSelectionType::getDefaultOptions() must be compatible with Symfony\Component\Form\FormTypeInterface::getDefaultOptions() in C:\wamp\www\crm\src\Ecs\CrmBundle\Form\Parts\DepartmentSelectionType.php on line 41
  </code></pre>
  
  <p>And the file that it is referencing there is found below:</p>
  
  <pre><code>&lt;?php
  
  namespace Ecs\CrmBundle\Form\Parts;
  
  use Symfony\Component\Form\AbstractType;
  use Symfony\Component\Form\FormBuilder;
  
  
  class DepartmentSelectionType extends AbstractType {
      private $canSeeAll = false;
  
      public function __construct($canSeeAll = false)
      {
          $this-&gt;canSeeAll = $canSeeAll;
      }
  
      public function buildForm(FormBuilder $builder, array $options)
      {
          $builder
              -&gt;add('department', 'entity',
                  array(
                      'class' =&gt; "EcsAgentManagerBundle:EmployeeDepartment",
                      'required' =&gt; false,
                      'multiple' =&gt; true,
                      'expanded' =&gt; true,
                      'label' =&gt; "Department"))
          ;
      }
  
      public function getDefaultOptions(array $options)
      {
          return array(
              'data_class' =&gt; 'Ecs\AgentManagerBundle\Entity\EmployeeDepartment',
          );
      }
  
      public function getName()
      {
          return 'ecs_crmbundle_departmentselectiontype';
      }
  }
  </code></pre>
  
  <p>is the file that it is referencing... Any ideas on what the issue can be?</p>