@@ -172,7 +172,7 @@ discard block |
||
172 | 172 | } |
173 | 173 | |
174 | 174 | /** |
175 | - * @param $className |
|
175 | + * @param string $className |
|
176 | 176 | * @return array |
177 | 177 | */ |
178 | 178 | private function getMethods($className) |
@@ -195,7 +195,7 @@ discard block |
||
195 | 195 | } |
196 | 196 | |
197 | 197 | /** |
198 | - * @param $className |
|
198 | + * @param string $className |
|
199 | 199 | * @return null|string |
200 | 200 | * @throws \Exception |
201 | 201 | */ |
@@ -202,8 +202,7 @@ |
||
202 | 202 | //$showTypes = $this->getClassAttrPropsDisplay($class->getName(), $showTypes); |
203 | 203 | |
204 | 204 | $fields[] = $class->isIdentifier($fieldName) ? |
205 | - '+' . $this->makeFieldName($class, $fieldName, $DisplayAttributesDetails) : |
|
206 | - $this->makeFieldName($class, $fieldName, $DisplayAttributesDetails); |
|
205 | + '+' . $this->makeFieldName($class, $fieldName, $DisplayAttributesDetails) : $this->makeFieldName($class, $fieldName, $DisplayAttributesDetails); |
|
207 | 206 | } |
208 | 207 | |
209 | 208 | return $fields; |
@@ -63,6 +63,6 @@ |
||
63 | 63 | */ |
64 | 64 | private static function makeColorString($classString, $color) |
65 | 65 | { |
66 | - return str_replace(']', '{bg:'. $color .'}]', $classString); |
|
66 | + return str_replace(']', '{bg:' . $color . '}]', $classString); |
|
67 | 67 | } |
68 | 68 | } |
@@ -14,7 +14,7 @@ |
||
14 | 14 | { |
15 | 15 | $classText = '[' . str_replace('\\', '.', $className); |
16 | 16 | $classText .= !empty($fields) ? '|' . implode(';', $fields) : ''; |
17 | - $classText .= !empty($methods) ? '|' . implode('();', $methods). '()' : ''; |
|
17 | + $classText .= !empty($methods) ? '|' . implode('();', $methods) . '()' : ''; |
|
18 | 18 | $classText .= ']'; |
19 | 19 | |
20 | 20 | return $classText; |
@@ -184,7 +184,7 @@ |
||
184 | 184 | $tmpArrayMap = ""; |
185 | 185 | |
186 | 186 | foreach ($namespaces as $namespace) { |
187 | - $tmpArrayMap .="[\"$namespace\"]"; |
|
187 | + $tmpArrayMap .= "[\"$namespace\"]"; |
|
188 | 188 | eval("if (!isset(\$this->indexedClasses$tmpArrayMap)) " |
189 | 189 | . "{\$this->indexedClasses$tmpArrayMap = array(\"__class\" => null, \"__color\" => null);}"); |
190 | 190 | } |