Closed rabauss closed 3 years ago
We're getting sometimes a type error: Argument 2 passed to Hofff\Contao\SocialTags\EventListener\Hook\NewsReaderListener::onGetContentElement() must be of the type string, null given
Argument 2 passed to Hofff\Contao\SocialTags\EventListener\Hook\NewsReaderListener::onGetContentElement() must be of the type string, null given
Is the Type here too strict? https://github.com/hofff/contao-social-tags/blob/1757470a9950d298de31a47db7851244c133432f/src/EventListener/Hook/NewsReaderListener.php#L43
Unfortunately, I could not reproduce the state in our local develop system, so that I could debug it 👎
Another extension caused this error because of missing return value!
We're getting sometimes a type error:
Argument 2 passed to Hofff\Contao\SocialTags\EventListener\Hook\NewsReaderListener::onGetContentElement() must be of the type string, null given
Is the Type here too strict? https://github.com/hofff/contao-social-tags/blob/1757470a9950d298de31a47db7851244c133432f/src/EventListener/Hook/NewsReaderListener.php#L43
Unfortunately, I could not reproduce the state in our local develop system, so that I could debug it 👎