@@ -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 | { |
@@ -14,17 +14,17 @@ |
||
| 14 | 14 | */ |
| 15 | 15 | namespace AppBundle\Controller; |
| 16 | 16 | |
| 17 | -use Symfony\Component\HttpFoundation\Request; |
|
| 18 | 17 | use AppBundle\Controller\AbstractController; |
| 18 | +use AppBundle\Entity\User; |
|
| 19 | +use AppBundle\Form\Type\UserFilterType; |
|
| 20 | +use AppBundle\Form\Type\UserType; |
|
| 21 | +use Doctrine\ORM\QueryBuilder; |
|
| 19 | 22 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; |
| 20 | 23 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
| 21 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
|
| 22 | 24 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Security; |
| 23 | -use AppBundle\Entity\User; |
|
| 24 | -use AppBundle\Form\Type\UserType; |
|
| 25 | -use AppBundle\Form\Type\UserFilterType; |
|
| 25 | +use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
|
| 26 | 26 | use Symfony\Component\Form\FormInterface; |
| 27 | -use Doctrine\ORM\QueryBuilder; |
|
| 27 | +use Symfony\Component\HttpFoundation\Request; |
|
| 28 | 28 | |
| 29 | 29 | /** |
| 30 | 30 | * User controller. |
@@ -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 | { |
@@ -14,10 +14,10 @@ |
||
| 14 | 14 | */ |
| 15 | 15 | namespace AppBundle\Controller; |
| 16 | 16 | |
| 17 | -use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
|
| 18 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
|
| 19 | 17 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; |
| 18 | +use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
|
| 20 | 19 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
| 20 | +use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
|
| 21 | 21 | use Symfony\Component\HttpFoundation\Response; |
| 22 | 22 | |
| 23 | 23 | /** |
@@ -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 | { |
@@ -15,15 +15,15 @@ |
||
| 15 | 15 | */ |
| 16 | 16 | namespace AppBundle\Entity; |
| 17 | 17 | |
| 18 | -use Doctrine\ORM\Mapping as ORM; |
|
| 19 | -use Symfony\Component\Validator\Constraints as Assert; |
|
| 20 | -use Gedmo\Mapping\Annotation as Gedmo; |
|
| 21 | -use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity; |
|
| 22 | -use Doctrine\Common\Collections\ArrayCollection; |
|
| 18 | +use AppBundle\Entity\FamilyLog; |
|
| 23 | 19 | use AppBundle\Entity\Supplier; |
| 24 | 20 | use AppBundle\Entity\UnitStorage; |
| 25 | 21 | use AppBundle\Entity\ZoneStorage; |
| 26 | -use AppBundle\Entity\FamilyLog; |
|
| 22 | +use Doctrine\Common\Collections\ArrayCollection; |
|
| 23 | +use Doctrine\ORM\Mapping as ORM; |
|
| 24 | +use Gedmo\Mapping\Annotation as Gedmo; |
|
| 25 | +use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity; |
|
| 26 | +use Symfony\Component\Validator\Constraints as Assert; |
|
| 27 | 27 | |
| 28 | 28 | /** |
| 29 | 29 | * Article. |
@@ -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 | { |
@@ -15,12 +15,12 @@ |
||
| 15 | 15 | */ |
| 16 | 16 | namespace AppBundle\Entity; |
| 17 | 17 | |
| 18 | +use AppBundle\Entity\Contact; |
|
| 19 | +use AppBundle\Entity\FamilyLog; |
|
| 18 | 20 | use Doctrine\ORM\Mapping as ORM; |
| 19 | -use Symfony\Component\Validator\Constraints as Assert; |
|
| 20 | 21 | use Gedmo\Mapping\Annotation as Gedmo; |
| 21 | 22 | use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity; |
| 22 | -use AppBundle\Entity\Contact; |
|
| 23 | -use AppBundle\Entity\FamilyLog; |
|
| 23 | +use Symfony\Component\Validator\Constraints as Assert; |
|
| 24 | 24 | |
| 25 | 25 | /** |
| 26 | 26 | * Supplier Entité Supplier. |
@@ -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 | { |
@@ -14,8 +14,8 @@ |
||
| 14 | 14 | */ |
| 15 | 15 | namespace AppBundle\Controller; |
| 16 | 16 | |
| 17 | -use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
|
| 18 | 17 | use Doctrine\ORM\QueryBuilder; |
| 18 | +use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
|
| 19 | 19 | |
| 20 | 20 | /** |
| 21 | 21 | * Abstract controller |
@@ -14,15 +14,15 @@ |
||
| 14 | 14 | */ |
| 15 | 15 | namespace AppBundle\Controller; |
| 16 | 16 | |
| 17 | -use Symfony\Component\HttpFoundation\Request; |
|
| 18 | 17 | use AppBundle\Controller\AbstractController; |
| 19 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; |
|
| 20 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
|
| 21 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
|
| 22 | 18 | use AppBundle\Entity\Article; |
| 23 | 19 | use AppBundle\Entity\Supplier; |
| 24 | -use AppBundle\Form\Type\ArticleType; |
|
| 25 | 20 | use AppBundle\Form\Type\ArticleReassignType; |
| 21 | +use AppBundle\Form\Type\ArticleType; |
|
| 22 | +use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; |
|
| 23 | +use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
|
| 24 | +use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
|
| 25 | +use Symfony\Component\HttpFoundation\Request; |
|
| 26 | 26 | |
| 27 | 27 | /** |
| 28 | 28 | * Article controller. |
@@ -14,18 +14,17 @@ |
||
| 14 | 14 | */ |
| 15 | 15 | namespace AppBundle\Controller; |
| 16 | 16 | |
| 17 | -use Symfony\Component\HttpFoundation\Request; |
|
| 18 | -use Symfony\Component\HttpFoundation\Response; |
|
| 19 | 17 | use AppBundle\Controller\AbstractController; |
| 20 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; |
|
| 21 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
|
| 22 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
|
| 23 | - |
|
| 24 | 18 | use AppBundle\Entity\Inventory; |
| 25 | -use AppBundle\Form\Type\InventoryType; |
|
| 26 | 19 | use AppBundle\Entity\InventoryArticles; |
| 27 | 20 | use AppBundle\Form\Type\InventoryEditType; |
| 21 | +use AppBundle\Form\Type\InventoryType; |
|
| 28 | 22 | use AppBundle\Form\Type\InventoryValidType; |
| 23 | +use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; |
|
| 24 | +use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
|
| 25 | +use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
|
| 26 | +use Symfony\Component\HttpFoundation\Request; |
|
| 27 | +use Symfony\Component\HttpFoundation\Response; |
|
| 29 | 28 | |
| 30 | 29 | /** |
| 31 | 30 | * Inventory controller. |