@@ -216,7 +216,7 @@ |
||
| 216 | 216 | * @param string $name route/entity name |
| 217 | 217 | * @param string $route route name, if different from entity name |
| 218 | 218 | * @param array $params possible route parameters |
| 219 | - * @return Response |
|
| 219 | + * @return \Symfony\Component\HttpFoundation\RedirectResponse|null |
|
| 220 | 220 | */ |
| 221 | 221 | protected function saveFilter(FormInterface $form, $name, $route = null, array $params = null) |
| 222 | 222 | { |
@@ -129,7 +129,7 @@ |
||
| 129 | 129 | /** |
| 130 | 130 | * Set first_inventory. |
| 131 | 131 | * |
| 132 | - * @param datetime $firstInventory Date du premier inventaire |
|
| 132 | + * @param \DateTime $firstInventory Date du premier inventaire |
|
| 133 | 133 | * |
| 134 | 134 | * @return Settings |
| 135 | 135 | */ |
@@ -70,7 +70,7 @@ |
||
| 70 | 70 | /** |
| 71 | 71 | * Test des entités |
| 72 | 72 | * |
| 73 | - * @return array |
|
| 73 | + * @return string|null |
|
| 74 | 74 | */ |
| 75 | 75 | private function testEntities() |
| 76 | 76 | { |
@@ -296,7 +296,7 @@ discard block |
||
| 296 | 296 | /** |
| 297 | 297 | * Get supplier. |
| 298 | 298 | * |
| 299 | - * @return Supplier |
|
| 299 | + * @return string |
|
| 300 | 300 | */ |
| 301 | 301 | public function getSupplier() |
| 302 | 302 | { |
@@ -320,7 +320,7 @@ discard block |
||
| 320 | 320 | /** |
| 321 | 321 | * Get unit_storage. |
| 322 | 322 | * |
| 323 | - * @return UnitStorage |
|
| 323 | + * @return string |
|
| 324 | 324 | */ |
| 325 | 325 | public function getUnitStorage() |
| 326 | 326 | { |
@@ -357,7 +357,7 @@ discard block |
||
| 357 | 357 | /** |
| 358 | 358 | * Get zone_storages. |
| 359 | 359 | * |
| 360 | - * @return \Doctrine\Common\Collections\Collection |
|
| 360 | + * @return string |
|
| 361 | 361 | */ |
| 362 | 362 | public function getZoneStorages() |
| 363 | 363 | { |
@@ -381,7 +381,7 @@ discard block |
||
| 381 | 381 | /** |
| 382 | 382 | * Get family_log. |
| 383 | 383 | * |
| 384 | - * @return FamilyLog |
|
| 384 | + * @return string |
|
| 385 | 385 | */ |
| 386 | 386 | public function getFamilyLog() |
| 387 | 387 | { |
@@ -147,7 +147,7 @@ |
||
| 147 | 147 | /** |
| 148 | 148 | * Get familylog. |
| 149 | 149 | * |
| 150 | - * @return FamilyLog |
|
| 150 | + * @return string |
|
| 151 | 151 | */ |
| 152 | 152 | public function getFamilylog() |
| 153 | 153 | { |
@@ -89,7 +89,7 @@ discard block |
||
| 89 | 89 | /** |
| 90 | 90 | * Get inventory |
| 91 | 91 | * |
| 92 | - * @return string |
|
| 92 | + * @return Inventory |
|
| 93 | 93 | */ |
| 94 | 94 | public function getInventory() |
| 95 | 95 | { |
@@ -112,7 +112,7 @@ discard block |
||
| 112 | 112 | /** |
| 113 | 113 | * Get article |
| 114 | 114 | * |
| 115 | - * @return string |
|
| 115 | + * @return Article |
|
| 116 | 116 | */ |
| 117 | 117 | public function getArticle() |
| 118 | 118 | { |
@@ -204,7 +204,7 @@ discard block |
||
| 204 | 204 | /** |
| 205 | 205 | * Get unit_storage |
| 206 | 206 | * |
| 207 | - * @return \AppBundle\Entity\UnitStorage |
|
| 207 | + * @return string |
|
| 208 | 208 | */ |
| 209 | 209 | public function getUnitStorage() |
| 210 | 210 | { |
@@ -152,7 +152,7 @@ |
||
| 152 | 152 | /** |
| 153 | 153 | * Get amount |
| 154 | 154 | * |
| 155 | - * @return string |
|
| 155 | + * @return double |
|
| 156 | 156 | */ |
| 157 | 157 | public function getAmount() |
| 158 | 158 | { |
@@ -5,7 +5,8 @@ discard block |
||
| 5 | 5 | /** |
| 6 | 6 | * Generated by PHPUnit_SkeletonGenerator on 2016-02-15 at 17:17:17. |
| 7 | 7 | */ |
| 8 | -class RegistrationTypeTest extends \PHPUnit_Framework_TestCase { |
|
| 8 | +class RegistrationTypeTest extends \PHPUnit_Framework_TestCase |
|
| 9 | +{ |
|
| 9 | 10 | |
| 10 | 11 | /** |
| 11 | 12 | * @var RegistrationType |
@@ -16,7 +17,8 @@ discard block |
||
| 16 | 17 | * Sets up the fixture, for example, opens a network connection. |
| 17 | 18 | * This method is called before a test is executed. |
| 18 | 19 | */ |
| 19 | - protected function setUp() { |
|
| 20 | + protected function setUp() |
|
| 21 | + { |
|
| 20 | 22 | $this->object = new RegistrationType; |
| 21 | 23 | } |
| 22 | 24 | |
@@ -24,7 +26,8 @@ discard block |
||
| 24 | 26 | * Tears down the fixture, for example, closes a network connection. |
| 25 | 27 | * This method is called after a test is executed. |
| 26 | 28 | */ |
| 27 | - protected function tearDown() { |
|
| 29 | + protected function tearDown() |
|
| 30 | + { |
|
| 28 | 31 | |
| 29 | 32 | } |
| 30 | 33 | |
@@ -32,7 +35,8 @@ discard block |
||
| 32 | 35 | * @covers AppBundle\Form\RegistrationType::buildForm |
| 33 | 36 | * @todo Implement testBuildForm(). |
| 34 | 37 | */ |
| 35 | - public function testBuildForm() { |
|
| 38 | + public function testBuildForm() |
|
| 39 | + { |
|
| 36 | 40 | // Remove the following lines when you implement this test. |
| 37 | 41 | $this->markTestIncomplete( |
| 38 | 42 | 'This test has not been implemented yet.' |
@@ -43,7 +47,8 @@ discard block |
||
| 43 | 47 | * @covers AppBundle\Form\RegistrationType::getParent |
| 44 | 48 | * @todo Implement testGetParent(). |
| 45 | 49 | */ |
| 46 | - public function testGetParent() { |
|
| 50 | + public function testGetParent() |
|
| 51 | + { |
|
| 47 | 52 | // Remove the following lines when you implement this test. |
| 48 | 53 | $this->markTestIncomplete( |
| 49 | 54 | 'This test has not been implemented yet.' |
@@ -54,7 +59,8 @@ discard block |
||
| 54 | 59 | * @covers AppBundle\Form\RegistrationType::getBlockPrefix |
| 55 | 60 | * @todo Implement testGetBlockPrefix(). |
| 56 | 61 | */ |
| 57 | - public function testGetBlockPrefix() { |
|
| 62 | + public function testGetBlockPrefix() |
|
| 63 | + { |
|
| 58 | 64 | // Remove the following lines when you implement this test. |
| 59 | 65 | $this->markTestIncomplete( |
| 60 | 66 | 'This test has not been implemented yet.' |
@@ -65,7 +71,8 @@ discard block |
||
| 65 | 71 | * @covers AppBundle\Form\RegistrationType::getName |
| 66 | 72 | * @todo Implement testGetName(). |
| 67 | 73 | */ |
| 68 | - public function testGetName() { |
|
| 74 | + public function testGetName() |
|
| 75 | + { |
|
| 69 | 76 | // Remove the following lines when you implement this test. |
| 70 | 77 | $this->markTestIncomplete( |
| 71 | 78 | 'This test has not been implemented yet.' |
@@ -5,7 +5,8 @@ discard block |
||
| 5 | 5 | /** |
| 6 | 6 | * Generated by PHPUnit_SkeletonGenerator on 2016-02-15 at 17:17:16. |
| 7 | 7 | */ |
| 8 | -class GroupTypeTest extends \PHPUnit_Framework_TestCase { |
|
| 8 | +class GroupTypeTest extends \PHPUnit_Framework_TestCase |
|
| 9 | +{ |
|
| 9 | 10 | |
| 10 | 11 | /** |
| 11 | 12 | * @var GroupType |
@@ -16,7 +17,8 @@ discard block |
||
| 16 | 17 | * Sets up the fixture, for example, opens a network connection. |
| 17 | 18 | * This method is called before a test is executed. |
| 18 | 19 | */ |
| 19 | - protected function setUp() { |
|
| 20 | + protected function setUp() |
|
| 21 | + { |
|
| 20 | 22 | $this->object = new GroupType; |
| 21 | 23 | } |
| 22 | 24 | |
@@ -24,7 +26,8 @@ discard block |
||
| 24 | 26 | * Tears down the fixture, for example, closes a network connection. |
| 25 | 27 | * This method is called after a test is executed. |
| 26 | 28 | */ |
| 27 | - protected function tearDown() { |
|
| 29 | + protected function tearDown() |
|
| 30 | + { |
|
| 28 | 31 | |
| 29 | 32 | } |
| 30 | 33 | |
@@ -32,7 +35,8 @@ discard block |
||
| 32 | 35 | * @covers AppBundle\Form\Type\GroupType::buildForm |
| 33 | 36 | * @todo Implement testBuildForm(). |
| 34 | 37 | */ |
| 35 | - public function testBuildForm() { |
|
| 38 | + public function testBuildForm() |
|
| 39 | + { |
|
| 36 | 40 | // Remove the following lines when you implement this test. |
| 37 | 41 | $this->markTestIncomplete( |
| 38 | 42 | 'This test has not been implemented yet.' |
@@ -43,7 +47,8 @@ discard block |
||
| 43 | 47 | * @covers AppBundle\Form\Type\GroupType::configureOptions |
| 44 | 48 | * @todo Implement testConfigureOptions(). |
| 45 | 49 | */ |
| 46 | - public function testConfigureOptions() { |
|
| 50 | + public function testConfigureOptions() |
|
| 51 | + { |
|
| 47 | 52 | // Remove the following lines when you implement this test. |
| 48 | 53 | $this->markTestIncomplete( |
| 49 | 54 | 'This test has not been implemented yet.' |
@@ -54,7 +59,8 @@ discard block |
||
| 54 | 59 | * @covers AppBundle\Form\Type\GroupType::getName |
| 55 | 60 | * @todo Implement testGetName(). |
| 56 | 61 | */ |
| 57 | - public function testGetName() { |
|
| 62 | + public function testGetName() |
|
| 63 | + { |
|
| 58 | 64 | // Remove the following lines when you implement this test. |
| 59 | 65 | $this->markTestIncomplete( |
| 60 | 66 | 'This test has not been implemented yet.' |