Completed
Push — master ( 41e5ad...f2b4de )
by Alexandre
02:39
created
src/AppBundle/Cart/Cart.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -61,6 +61,9 @@
 block discarded – undo
61 61
         $this->addRow($row);
62 62
     }
63 63
 
64
+    /**
65
+     * @param integer $quantity
66
+     */
64 67
     public function setMeal(Meal $meal, $quantity)
65 68
     {
66 69
         if ($quantity == 0) {
Please login to merge, or discard this patch.
src/AppBundle/Controller/AdminOrderController.php 1 patch
Unused Use Statements   -6 removed lines patch added patch discarded remove patch
@@ -2,17 +2,11 @@
 block discarded – undo
2 2
 
3 3
 namespace AppBundle\Controller;
4 4
 
5
-use AppBundle\Cart\Cart;
6
-use AppBundle\Cart\CartSerializer;
7 5
 use AppBundle\Entity\Order;
8
-use AppBundle\Event\OrderEvent;
9
-use AppBundle\Event\OrderEvents;
10
-use AppBundle\Form\Type\OrderType;
11 6
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter;
12 7
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
13 8
 use Symfony\Bundle\FrameworkBundle\Controller\Controller;
14 9
 use Symfony\Component\HttpFoundation\Request;
15
-use Symfony\Component\HttpFoundation\Response;
16 10
 
17 11
 class AdminOrderController extends Controller
18 12
 {
Please login to merge, or discard this patch.
src/AppBundle/Service/Notification.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -40,6 +40,9 @@  discard block
 block discarded – undo
40 40
         );
41 41
     }
42 42
 
43
+    /**
44
+     * @param string $template
45
+     */
43 46
     private function sendMail($recipient, $template, array $parameters = array())
44 47
     {
45 48
         $message = $this->getMessage($template, $parameters);
@@ -47,6 +50,9 @@  discard block
 block discarded – undo
47 50
         $this->mailer->send($message);
48 51
     }
49 52
 
53
+    /**
54
+     * @return \Swift_Mime_Message
55
+     */
50 56
     public function getMessage($template, $parameters = array())
51 57
     {
52 58
         $template = $this->twig->loadTemplate($template);
Please login to merge, or discard this patch.
src/AppBundle/Controller/AdminMenuController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter;
10 10
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
11 11
 use Symfony\Bundle\FrameworkBundle\Controller\Controller;
12
-use Symfony\Component\Form\Extension\Core\Type\SubmitType;
13 12
 use Symfony\Component\HttpFoundation\Request;
14 13
 
15 14
 class AdminMenuController extends Controller
Please login to merge, or discard this patch.
src/AppBundle/Service/Planning.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 AppBundle\Service;
4 4
 
5
-use AppBundle\Entity\Holiday;
6 5
 use AppBundle\Service\Loader\HolidayLoaderInterface;
7 6
 
8 7
 class Planning
Please login to merge, or discard this patch.