Completed
Push — master ( fdcd72...0345b9 )
by Laurent
03:39
created
src/AppBundle/Controller/InventoryController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -290,7 +290,7 @@  discard block
 block discarded – undo
290 290
      */
291 291
     public function printAction(Inventory $inventory)
292 292
     {
293
-        $file = $inventory->getDate()->format('Ymd') . '-inventory.pdf';
293
+        $file = $inventory->getDate()->format('Ymd').'-inventory.pdf';
294 294
         // Créer et enregistrer le fichier PDF à imprimer
295 295
         $html = $this->renderView(
296 296
             'AppBundle:Inventory:print.pdf.twig',
@@ -307,7 +307,7 @@  discard block
 block discarded – undo
307 307
             200,
308 308
             array(
309 309
                 'Content-Type' => 'application/pdf',
310
-                'Content-Disposition' => 'attachment; filename="' . $file . '"'
310
+                'Content-Disposition' => 'attachment; filename="'.$file.'"'
311 311
             )
312 312
         );
313 313
     }
Please login to merge, or discard this patch.
src/AppBundle/Entity/InventoryArticles.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.