jorrit I think the warning PHP0410 is not appropiate in this situation. Classes Elementlijst and Klant are both in the same namespace.
jorrit Yes you are right, I made a mistake when I converted the phpdoc attributes to modern annotations. I am sorry to bother you. Thanks for the hint. You can close this issue.