Completed
Push — master ( 4ea7f1...ba6dcf )
by Louis
14s
created
back/src/KI/FoyerBundle/Controller/DefaultController.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -48,14 +48,14 @@  discard block
 block discarded – undo
48 48
 
49 49
         $promoBalances = $this->manager->getRepository('KIFoyerBundle:Transaction')->getPromoBalances();
50 50
 
51
-        foreach ($promoBalances as $promoBalance){
51
+        foreach ($promoBalances as $promoBalance) {
52 52
             $statistics['promoBalances']['labels'][] = trim($promoBalance['promo']);
53 53
             $statistics['promoBalances']['data'][] = round($promoBalance['promoBalance'], 2);
54 54
         }
55 55
 
56 56
         $soldBeers = $this->manager->getRepository('KIFoyerBundle:Transaction')->getSoldBeers();
57 57
 
58
-        foreach ($soldBeers as $soldBeer){
58
+        foreach ($soldBeers as $soldBeer) {
59 59
             $statistics['soldBeers']['labels'][] = trim($soldBeer['name']);
60 60
             $statistics['soldBeers']['data'][] = $soldBeer['soldBeer'];
61 61
         }
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
     {
136 136
         $this->trust($this->isFoyerMember());
137 137
 
138
-        $response = new StreamedResponse(function () {
138
+        $response = new StreamedResponse(function() {
139 139
             $results = $this->repository->getDebtsIterator();
140 140
             $handle = fopen('php://output', 'r+');
141 141
 
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
     {
173 173
         $this->trust($this->isFoyerMember());
174 174
 
175
-        $response = new StreamedResponse(function () {
175
+        $response = new StreamedResponse(function() {
176 176
             $results = $this->repository->getPromoBalance();
177 177
             $handle = fopen('php://output', 'r+');
178 178
 
Please login to merge, or discard this patch.