@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | public function getFullNameFor(string $name): string |
| 67 | 67 | { |
| 68 | 68 | $namespace = $this->getNamespaceString(); |
| 69 | - return $namespace === null? $name : $namespace . '\\' . $name; |
|
| 69 | + return $namespace === null ? $name : $namespace . '\\' . $name; |
|
| 70 | 70 | } |
| 71 | 71 | |
| 72 | 72 | /** |
@@ -126,7 +126,7 @@ discard block |
||
| 126 | 126 | */ |
| 127 | 127 | public function getUse(string $name): string |
| 128 | 128 | { |
| 129 | - if (! $this->hasUse($name)) { |
|
| 129 | + if (!$this->hasUse($name)) { |
|
| 130 | 130 | throw new ParseException(sprintf( |
| 131 | 131 | 'Trying to get a full class name for "%s", but it does not exists', |
| 132 | 132 | $name |
@@ -59,7 +59,7 @@ |
||
| 59 | 59 | $phpFile->setName($name); |
| 60 | 60 | |
| 61 | 61 | if ((count($phpFile->getTraits()) + count($phpFile->getClasses()) + count($phpFile->getFunctions())) === 0) { |
| 62 | - if (! $this->config->hasInterfaceParsing() || count($phpFile->getInterfaces()) === 0) { |
|
| 62 | + if (!$this->config->hasInterfaceParsing() || count($phpFile->getInterfaces()) === 0) { |
|
| 63 | 63 | return null; |
| 64 | 64 | } |
| 65 | 65 | } |