Passed
Push — main ( 18364d...44ad79 )
by Osvaldo
01:51
created
src/Factory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.
test/FactoryTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,11 +23,11 @@
 block discarded – undo
23 23
 
24 24
     public function testSiLaClaseExisteYDevuelveUnObjeto()
25 25
     {
26
-        $this->assertIsObject($this->class->crear('test\Dummy', array() ) );
26
+        $this->assertIsObject($this->class->crear('test\Dummy', array()));
27 27
     }
28 28
 
29 29
     public function testSiRegresaUnaClaseEsConsideradaUnObjeto()
30 30
     {
31
-        $this->assertIsObject( $this->crearDummy->crear(array() ) );
31
+        $this->assertIsObject($this->crearDummy->crear(array()));
32 32
     }
33 33
 }
34 34
\ No newline at end of file
Please login to merge, or discard this patch.