doctrine / reflection

The Doctrine Reflection project is a simple library used by the various Doctrine projects which adds some additional functionality on top of the reflection API that comes with PHP. It allows you to get the reflection information about classes, methods and properties statically.

Home Page:https://www.doctrine-project.org/projects/reflection.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Trying to access array offset on value of type null in Doctrine\Common\Reflection\StaticReflectionParser->parse

DieterHolvoet opened this issue · comments

I'm getting the following notice running version 1.1.0:

Notice: Trying to access array offset on value of type null in Doctrine\Common\Reflection\StaticReflectionParser->parse() (line 192).

First part of the stack trace:

Doctrine\Common\Reflection\StaticReflectionParser->parse() (Line: 303)
Doctrine\Common\Reflection\StaticReflectionParser->getDocComment() (Line: 35)
Doctrine\Common\Reflection\StaticReflectionClass->getDocComment() (Line: 101)
Drupal\Component\Annotation\Doctrine\SimpleAnnotationReader->getClassAnnotations(Object) (Line: 125)