@@ -5,8 +5,7 @@ |
||
| 5 | 5 | |
| 6 | 6 | use gossi\codegen\model\AbstractPhpStruct; |
| 7 | 7 | |
| 8 | -class TypeUtils |
|
| 9 | -{ |
|
| 8 | +class TypeUtils { |
|
| 10 | 9 | public static $phpTypes = [ |
| 11 | 10 | 'string', |
| 12 | 11 | 'int', |
@@ -2,8 +2,7 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace gossi\codegen\model; |
| 4 | 4 | |
| 5 | -interface PhpTypeInterface extends NamespaceInterface |
|
| 6 | -{ |
|
| 5 | +interface PhpTypeInterface extends NamespaceInterface { |
|
| 7 | 6 | public function getName(): ?string; |
| 8 | 7 | |
| 9 | 8 | public function getQualifiedName(): ?string; |
@@ -4,12 +4,10 @@ |
||
| 4 | 4 | |
| 5 | 5 | use gossi\codegen\model\parts\QualifiedNamePart; |
| 6 | 6 | |
| 7 | -class PhpType implements PhpTypeInterface |
|
| 8 | -{ |
|
| 7 | +class PhpType implements PhpTypeInterface { |
|
| 9 | 8 | use QualifiedNamePart; |
| 10 | 9 | |
| 11 | - public function __construct($qualifiedName) |
|
| 12 | - { |
|
| 10 | + public function __construct($qualifiedName) { |
|
| 13 | 11 | $this->setQualifiedName($qualifiedName); |
| 14 | 12 | } |
| 15 | 13 | } |