Passed
Push — main ( 07d383...18364d )
by Osvaldo
11:07
created
test/FactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,6 +21,6 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
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.