Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I just spend way too long to figure out why the example throws errors. Since you can't call new Analysis without a context and TokenAnalyser is the old way of doing things, I updated it so the example works. Maybe the signature for ```php public function __construct(array $annotations = [], ?Context $context = null) ``` in Analysis.php should get updated since it calls addAnnotations which doesn't allow context to be null, so I don't quite see why it allows it in the constructor since it will just crash anyway?
- Loading branch information