@@ -3,5 +3,5 @@ |
||
| 3 | 3 | |
| 4 | 4 | interface ContenedorInterface |
| 5 | 5 | { |
| 6 | - public function obtener(string $abstract); |
|
| 6 | + public function obtener(string $abstract); |
|
| 7 | 7 | } |
| 8 | 8 | \ No newline at end of file |
@@ -3,8 +3,8 @@ |
||
| 3 | 3 | |
| 4 | 4 | class SegundaClase |
| 5 | 5 | { |
| 6 | - public function holaMundo(): string |
|
| 7 | - { |
|
| 8 | - return 'Hola Mundo'; |
|
| 9 | - } |
|
| 6 | + public function holaMundo(): string |
|
| 7 | + { |
|
| 8 | + return 'Hola Mundo'; |
|
| 9 | + } |
|
| 10 | 10 | } |
| 11 | 11 | \ No newline at end of file |
@@ -4,11 +4,11 @@ |
||
| 4 | 4 | |
| 5 | 5 | class PrimerClase |
| 6 | 6 | { |
| 7 | - public function __construct |
|
| 8 | - ( |
|
| 9 | - SegundaClase $SegundaClase |
|
| 10 | - ) |
|
| 11 | - { |
|
| 12 | - echo $SegundaClase->holaMundo(); |
|
| 13 | - } |
|
| 7 | + public function __construct |
|
| 8 | + ( |
|
| 9 | + SegundaClase $SegundaClase |
|
| 10 | + ) |
|
| 11 | + { |
|
| 12 | + echo $SegundaClase->holaMundo(); |
|
| 13 | + } |
|
| 14 | 14 | } |
| 15 | 15 | \ No newline at end of file |