@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | } |
27 | 27 | public function getIndicatorAction() |
28 | 28 | { |
29 | - $indicator = (int)$this->params()->fromRoute('indicator'); |
|
29 | + $indicator = (int) $this->params()->fromRoute('indicator'); |
|
30 | 30 | |
31 | 31 | $response = []; |
32 | 32 | |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | $arrIndicador = $this->entityManager->getRepository(Indicator::class) |
35 | 35 | ->getIndicator($indicator); |
36 | 36 | |
37 | - foreach($arrIndicador as $indicador) { |
|
37 | + foreach ($arrIndicador as $indicador) { |
|
38 | 38 | $response['indicador'] = $indicador; |
39 | 39 | break; |
40 | 40 | } |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | $arrAnos = []; |
46 | 46 | $arrValor = []; |
47 | 47 | |
48 | - foreach($arrValores as $a) { |
|
48 | + foreach ($arrValores as $a) { |
|
49 | 49 | // SI EL NOMBRE TIENE UNA COMA LO TENGO QUE PONER ENTRE COMILLAS |
50 | 50 | $arrAnos[] = $a['year']; |
51 | 51 | $arrValor[] = $a['value']; |