#83570New warning in PHP7.2 spams the logs and decreases performance
Description
When Typo tries to get the name of an object it may cause a warning if the parameter given to get_class() is either not an object or null. The supplied patch fixes the issue. I’ve only observed this issue on PHP 7.2
The file in question is: ./vendor/typo3/cms/typo3/sysext/extbase/Classes/Service/ImageService.php
P.S.: Do I have to fork Typo and create a Pull Request or is this patch sufficient? I hope I didn’t set any properties I am not allowed to set in the bug report.