@@ -10,8 +10,7 @@ discard block |
||
10 | 10 | private $_segundoValor; |
11 | 11 | private $_tercerValor; |
12 | 12 | |
13 | - public function __construct |
|
14 | - ( |
|
13 | + public function __construct( |
|
15 | 14 | UnidadDeValorInterface $UnidadDeValorInterface1, |
16 | 15 | UnidadDeValorInterface $UnidadDeValorInterface2, |
17 | 16 | UnidadDeValorInterface $UnidadDeValorInterface3 |
@@ -29,6 +28,6 @@ discard block |
||
29 | 28 | |
30 | 29 | public function datos(): array |
31 | 30 | { |
32 | - return [$this->_segundoValor->valor(),$this->_tercerValor->valor()]; |
|
31 | + return [$this->_segundoValor->valor(), $this->_tercerValor->valor()]; |
|
33 | 32 | } |
34 | 33 | } |
35 | 34 | \ No newline at end of file |
@@ -24,7 +24,7 @@ |
||
24 | 24 | public function datos(): array |
25 | 25 | { |
26 | 26 | $array = $this->_where->datos(); |
27 | - array_push($array,$this->_sentencia->datos()[0]); |
|
27 | + array_push($array, $this->_sentencia->datos()[0]); |
|
28 | 28 | |
29 | 29 | return $array; |
30 | 30 | } |
@@ -15,7 +15,7 @@ |
||
15 | 15 | |
16 | 16 | public function sql(): string |
17 | 17 | { |
18 | - return 'WHERE '. $this->_sentencia->sql(); |
|
18 | + return 'WHERE '.$this->_sentencia->sql(); |
|
19 | 19 | } |
20 | 20 | |
21 | 21 | public function datos(): array |
@@ -24,7 +24,7 @@ |
||
24 | 24 | public function datos(): array |
25 | 25 | { |
26 | 26 | $array = $this->_where->datos(); |
27 | - array_push($array,$this->_sentencia->datos()[0]); |
|
27 | + array_push($array, $this->_sentencia->datos()[0]); |
|
28 | 28 | |
29 | 29 | return $array; |
30 | 30 | } |
@@ -21,7 +21,7 @@ |
||
21 | 21 | |
22 | 22 | private function columnaVacia(string $columna) |
23 | 23 | { |
24 | - if(empty($columna)) |
|
24 | + if (empty($columna)) |
|
25 | 25 | { |
26 | 26 | throw new Exception("columna vacia"); |
27 | 27 | } |
@@ -21,7 +21,7 @@ |
||
21 | 21 | |
22 | 22 | private function valorVacio(string $valor) |
23 | 23 | { |
24 | - if(empty($valor)) |
|
24 | + if (empty($valor)) |
|
25 | 25 | { |
26 | 26 | throw new Exception("Valor vacio"); |
27 | 27 | } |