@@ -24,7 +24,7 @@ |
||
| 24 | 24 | * This method is called from FormController after form validation is passed in edit and create action. |
| 25 | 25 | * Mostly this method should save updated object in database. |
| 26 | 26 | * |
| 27 | - * @param mixed $object |
|
| 27 | + * @param \Prophecy\Argument\Token\TypeToken $object |
|
| 28 | 28 | */ |
| 29 | 29 | public function save($object); |
| 30 | 30 | } |
@@ -74,6 +74,7 @@ discard block |
||
| 74 | 74 | |
| 75 | 75 | /** |
| 76 | 76 | * @Then /^there should be (\d+) news in database$/ |
| 77 | + * @param integer $newsCount |
|
| 77 | 78 | */ |
| 78 | 79 | public function thereShouldBeNewsInDatabase($newsCount) |
| 79 | 80 | { |
@@ -211,6 +212,7 @@ discard block |
||
| 211 | 212 | |
| 212 | 213 | /** |
| 213 | 214 | * @Given /^there should be (\d+) subscribers in database$/ |
| 215 | + * @param integer $count |
|
| 214 | 216 | */ |
| 215 | 217 | public function thereShouldBeSubscribersInDatabase($count) |
| 216 | 218 | { |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace FSi\Bundle\AdminBundle\Factory\Worker; |
| 4 | 4 | |
| 5 | -use Doctrine\Common\Persistence\ManagerRegistry; |
|
| 6 | 5 | use FSi\Bundle\AdminBundle\Admin\Element; |
| 7 | 6 | use FSi\Bundle\AdminBundle\Admin\RequestStackAware; |
| 8 | 7 | use FSi\Bundle\AdminBundle\Factory\Worker; |
@@ -191,7 +191,7 @@ |
||
| 191 | 191 | } |
| 192 | 192 | |
| 193 | 193 | /** |
| 194 | - * @return mixed |
|
| 194 | + * @return boolean |
|
| 195 | 195 | */ |
| 196 | 196 | public function isVisible() |
| 197 | 197 | { |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | private $dataSourceFactory; |
| 18 | 18 | |
| 19 | 19 | /** |
| 20 | - * @param \FSi\Component\DataGrid\DataSourceFactoryInterface $factory |
|
| 20 | + * @param DataSourceFactoryInterface $factory |
|
| 21 | 21 | */ |
| 22 | 22 | public function setDataSourceFactory(DataSourceFactoryInterface $factory) |
| 23 | 23 | { |
@@ -41,7 +41,6 @@ |
||
| 41 | 41 | /** |
| 42 | 42 | * @param \FSi\Bundle\AdminBundle\Event\FormEvent $event |
| 43 | 43 | * @param \Symfony\Component\HttpFoundation\Request $request |
| 44 | - * @param \Symfony\Component\EventDispatcher\EventDispatcher $eventDispatcher |
|
| 45 | 44 | */ |
| 46 | 45 | function it_do_nothing_on_non_POST_request($event, $request) |
| 47 | 46 | { |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace spec\FSi\Bundle\AdminBundle\Menu\KnpMenu; |
| 4 | 4 | |
| 5 | 5 | use PhpSpec\ObjectBehavior; |
| 6 | -use Prophecy\Argument; |
|
| 7 | 6 | |
| 8 | 7 | class ElementVoterSpec extends ObjectBehavior |
| 9 | 8 | { |
@@ -242,8 +242,6 @@ |
||
| 242 | 242 | /** |
| 243 | 243 | * @param \FSi\Bundle\AdminBundle\Admin\Manager $manager |
| 244 | 244 | * @param \FSi\Bundle\AdminBundle\Admin\CRUD\BatchElement $batchElement |
| 245 | - * @param \Symfony\Component\HttpFoundation\Request $request |
|
| 246 | - * @param \Symfony\Component\HttpFoundation\ParameterBag $queryAttributes |
|
| 247 | 245 | * @param \Symfony\Component\Routing\RouterInterface $router |
| 248 | 246 | * @param \Symfony\Component\Form\Test\FormBuilderInterface $formBuilder |
| 249 | 247 | * @param \Symfony\Component\Form\FormView $formView |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace spec\FSi\Bundle\AdminBundle\Menu\KnpMenu; |
| 4 | 4 | |
| 5 | 5 | use PhpSpec\ObjectBehavior; |
| 6 | -use Prophecy\Argument; |
|
| 7 | 6 | |
| 8 | 7 | class ElementVoterSpec extends ObjectBehavior |
| 9 | 8 | { |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace spec\FSi\Bundle\AdminBundle\Menu\KnpMenu; |
| 4 | 4 | |
| 5 | 5 | use PhpSpec\ObjectBehavior; |
| 6 | -use Prophecy\Argument; |
|
| 7 | 6 | |
| 8 | 7 | class ElementVoterSpec extends ObjectBehavior |
| 9 | 8 | { |