@@ -21,6 +21,6 @@ |
||
| 21 | 21 | |
| 22 | 22 | public function testLaClaseDevuelveUnObjeto() |
| 23 | 23 | { |
| 24 | - $this->assertIsObject($this->class->crear('test\Dummy', array() ) ); |
|
| 24 | + $this->assertIsObject($this->class->crear('test\Dummy', array())); |
|
| 25 | 25 | } |
| 26 | 26 | } |
| 27 | 27 | \ No newline at end of file |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | |
| 20 | 20 | private function verificarSiExisteLaClase($nombreDeLaClase): string |
| 21 | 21 | { |
| 22 | - if(!class_exists($nombreDeLaClase)) |
|
| 22 | + if (!class_exists($nombreDeLaClase)) |
|
| 23 | 23 | { |
| 24 | 24 | throw new Exception("La clase no existe", 1); |
| 25 | 25 | } |