@@ -351,7 +351,7 @@ |
||
| 351 | 351 | { |
| 352 | 352 | return |
| 353 | 353 | interface_exists($this->className, false) || |
| 354 | - trait_exists($this->className, false) || |
|
| 355 | - class_exists($this->className, false); |
|
| 354 | + trait_exists($this->className, false) || |
|
| 355 | + class_exists($this->className, false); |
|
| 356 | 356 | } |
| 357 | 357 | } |
@@ -133,12 +133,12 @@ discard block |
||
| 133 | 133 | $paramString = ''; |
| 134 | 134 | $identation = str_repeat(' ', 4); |
| 135 | 135 | foreach ($methodParameters as $methodParameter) { |
| 136 | - $paramString .= "\n{$identation}" . $methodParameter; |
|
| 136 | + $paramString .= "\n{$identation}".$methodParameter; |
|
| 137 | 137 | } |
| 138 | 138 | |
| 139 | 139 | return sprintf( |
| 140 | 140 | "%sMethod [ <user%s%s%s>%s%s%s %s method %s ] {\n @@ %s %d - %d{$paramFormat}{$returnFormat}\n}\n", |
| 141 | - $this->getDocComment() ? $this->getDocComment() . "\n" : '', |
|
| 141 | + $this->getDocComment() ? $this->getDocComment()."\n" : '', |
|
| 142 | 142 | $prototype ? ", overwrites {$prototypeClass}, prototype {$prototypeClass}" : '', |
| 143 | 143 | $this->isConstructor() ? ', ctor' : '', |
| 144 | 144 | $this->isDestructor() ? ', dtor' : '', |
@@ -410,7 +410,7 @@ discard block |
||
| 410 | 410 | { |
| 411 | 411 | return |
| 412 | 412 | interface_exists($this->className, false) || |
| 413 | - trait_exists($this->className, false) || |
|
| 414 | - class_exists($this->className, false); |
|
| 413 | + trait_exists($this->className, false) || |
|
| 414 | + class_exists($this->className, false); |
|
| 415 | 415 | } |
| 416 | 416 | } |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | 'int' => 'integer', |
| 86 | 86 | 'bool' => 'boolean' |
| 87 | 87 | ]; |
| 88 | - $displayType = (string)$type; |
|
| 88 | + $displayType = (string) $type; |
|
| 89 | 89 | if (isset($typeMap[$displayType])) { |
| 90 | 90 | $displayType = $typeMap[$displayType]; |
| 91 | 91 | } |
@@ -108,9 +108,9 @@ discard block |
||
| 108 | 108 | public function wasIncluded() |
| 109 | 109 | { |
| 110 | 110 | return |
| 111 | - $this->isBuiltin() || |
|
| 111 | + $this->isBuiltin() || |
|
| 112 | 112 | interface_exists($this->type, false) || |
| 113 | - trait_exists($this->type, false) || |
|
| 114 | - class_exists($this->type, false); |
|
| 113 | + trait_exists($this->type, false) || |
|
| 114 | + class_exists($this->type, false); |
|
| 115 | 115 | } |
| 116 | 116 | } |