Detect a __call / __callStatic on a class chain. */
| 434 | |
| 435 | /* Detect a __call / __callStatic on a class chain. */ |
| 436 | static bool class_has_magic_call(PHPLSPContext *ctx, const char *class_qn, bool is_static) { |
| 437 | const char *magic = is_static ? "__callStatic" : "__call"; |
| 438 | return php_lookup_method(ctx, class_qn, magic) != NULL; |
| 439 | } |
| 440 | |
| 441 | /* ── type parsing ───────────────────────────────────────────────── */ |
| 442 |
no test coverage detected