Issue Task Closed

#96219Use get_debug_type() over is_object() and gettype()

Andreas Kienast 12/03/21, 12:06 updated 10/04/22, 14:08

Description

In some exception messages, the exact object type is rendered. Currently, this is done via is_object(), get_class() and gettype(). With PHP 8 (and the symfony/polyfill-php80 package), get_debug_type() may be used providing the same functionality.

Reviews 1