@@ -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 | { |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use FSi\Bundle\AdminBundle\Event\BatchEvents; |
6 | 6 | use FSi\Bundle\AdminBundle\Exception\RequestHandlerException; |
7 | 7 | use PhpSpec\ObjectBehavior; |
8 | -use Prophecy\Argument; |
|
9 | 8 | use Symfony\Component\HttpFoundation\Response; |
10 | 9 | |
11 | 10 | class BatchFormSubmitHandlerSpec extends ObjectBehavior |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use FSi\Bundle\AdminBundle\Event\ListEvents; |
6 | 6 | use FSi\Bundle\AdminBundle\Exception\RequestHandlerException; |
7 | 7 | use PhpSpec\ObjectBehavior; |
8 | -use Prophecy\Argument; |
|
9 | 8 | use Symfony\Component\HttpFoundation\Response; |
10 | 9 | |
11 | 10 | class DataGridBindDataHandlerSpec extends ObjectBehavior |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use FSi\Bundle\AdminBundle\Event\ListEvents; |
6 | 6 | use FSi\Bundle\AdminBundle\Exception\RequestHandlerException; |
7 | 7 | use PhpSpec\ObjectBehavior; |
8 | -use Prophecy\Argument; |
|
9 | 8 | use Symfony\Component\HttpFoundation\Response; |
10 | 9 | |
11 | 10 | class DataGridSetDataHandlerSpec extends ObjectBehavior |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use FSi\Bundle\AdminBundle\Event\ListEvents; |
6 | 6 | use FSi\Bundle\AdminBundle\Exception\RequestHandlerException; |
7 | 7 | use PhpSpec\ObjectBehavior; |
8 | -use Prophecy\Argument; |
|
9 | 8 | use Symfony\Component\HttpFoundation\Response; |
10 | 9 | |
11 | 10 | class DataSourceBindParametersHandlerSpec extends ObjectBehavior |