Completed
Pull Request — 2.1 (#250)
by Piotr
15:39
created
Admin/CRUD/FormElement.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
Behat/Context/DataContext.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -74,6 +74,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Factory/Worker/RequestStackWorker.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
features/fixtures/project/src/FSi/FixturesBundle/Entity/News.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -191,7 +191,7 @@
 block discarded – undo
191 191
     }
192 192
 
193 193
     /**
194
-     * @return mixed
194
+     * @return boolean
195 195
      */
196 196
     public function isVisible()
197 197
     {
Please login to merge, or discard this patch.
spec/fixtures/Admin/DataSourceAwareElement.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
AdminBundle/Admin/CRUD/Context/Request/BatchFormSubmitHandlerSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
AdminBundle/Admin/CRUD/Context/Request/DataGridBindDataHandlerSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
AdminBundle/Admin/CRUD/Context/Request/DataGridSetDataHandlerSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
Admin/CRUD/Context/Request/DataSourceBindParametersHandlerSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
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
Please login to merge, or discard this patch.