mediawiki-extensions-Echo/includes/Iterator
Bartosz Dziewoński 22b05a1e3f Replace gettype() with get_debug_type() in exception messages etc.
get_debug_type() does the same thing but better (spelling type names
in the same way as in type declarations, and including names of
object classes and resource types). It was added in PHP 8, but the
symfony/polyfill-php80 package provides it while we still support 7.4.

Also remove uses of get_class() where the new method already provides
the same information.

For reference:
https://www.php.net/manual/en/function.get-debug-type.php
https://www.php.net/manual/en/function.gettype.php

Change-Id: I54c2bf287b185e2526b0a8556166fd62182b2235
2024-08-16 16:53:47 +00:00
..
CallbackIterator.php
FilteredSequentialIterator.php Replace gettype() with get_debug_type() in exception messages etc. 2024-08-16 16:53:47 +00:00
MultipleIterator.php
NotRecursiveIterator.php