reflClass; } } } else { trait GetReflectionClassImplementation { /** * {@inheritDoc} * * Can return null when using static reflection, in violation of the LSP */ public function getReflectionClass(): ReflectionClass|null { return $this->reflClass; } } }