@@ -48,14 +48,14 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | |