Completed
Push — master ( 7eeafd...ae829f )
by Laurent
03:07
created
src/AppBundle/Entity/OrdersRepository.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     public function getLastOrder($count)
31 31
     {
32 32
         $query = $this->getLast($count)
33
-            ->where('o.orderdate < ' . date('d-m-Y'))
33
+            ->where('o.orderdate < '.date('d-m-Y'))
34 34
             ->getQuery();
35 35
 
36 36
         return $query->getResult();
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
     public function getLastDelivery($count)
46 46
     {
47 47
         $query = $this->getLast($count)
48
-            ->where('o.delivdate >= ' . date('d-m-Y'))
48
+            ->where('o.delivdate >= '.date('d-m-Y'))
49 49
             ->getQuery();
50 50
 
51 51
         return $query->getResult();
Please login to merge, or discard this patch.