@@ -523,7 +523,7 @@ |
||
| 523 | 523 | |
| 524 | 524 | if (method_exists($this->context, 'getDeclaringClass')) { |
| 525 | 525 | return $this->context->getDeclaringClass() |
| 526 | - ->getParentClass(); |
|
| 526 | + ->getParentClass(); |
|
| 527 | 527 | } |
| 528 | 528 | } |
| 529 | 529 | |
@@ -225,8 +225,8 @@ discard block |
||
| 225 | 225 | */ |
| 226 | 226 | public function getConstants( |
| 227 | 227 | ?int $filter = ReflectionClassConstant::IS_PUBLIC |
| 228 | - |ReflectionClassConstant::IS_PROTECTED |
|
| 229 | - |ReflectionClassConstant::IS_PRIVATE |
|
| 228 | + |ReflectionClassConstant::IS_PROTECTED |
|
| 229 | + |ReflectionClassConstant::IS_PRIVATE |
|
| 230 | 230 | ): array { |
| 231 | 231 | if (!isset($this->constants)) { |
| 232 | 232 | $this->constants = $this->recursiveCollect( |
@@ -566,8 +566,8 @@ discard block |
||
| 566 | 566 | */ |
| 567 | 567 | public function getReflectionConstants( |
| 568 | 568 | ?int $filter = ReflectionClassConstant::IS_PUBLIC |
| 569 | - |ReflectionClassConstant::IS_PROTECTED |
|
| 570 | - |ReflectionClassConstant::IS_PRIVATE |
|
| 569 | + |ReflectionClassConstant::IS_PROTECTED |
|
| 570 | + |ReflectionClassConstant::IS_PRIVATE |
|
| 571 | 571 | ): array { |
| 572 | 572 | if (!isset($this->classConstants)) { |
| 573 | 573 | $directClassConstants = ReflectionClassConstant::collectFromClassNode( |