[15:14:03] random question: is there a Phan equivalent of Python’s reveal_type()? [15:15:01] (X/Y problem avoidance: I’m wondering if https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1006049/3/includes/libs/StatusValue.php#144 needs a @template on the function so that it can take @param StatusValue and @return static, or if Phan figures it out magically) [15:20:11] Lucas_WMDE: add a comment like `'@phan-debug-var $variable';` [15:25:42] * Lucas_WMDE tries [15:34:09] taavi: thanks, it works! (and the result seems to indicate that the @template will in fact be required) [15:40:49] added to https://www.mediawiki.org/wiki/Continuous_integration/Phan#Tips, mainly so I can bookmark it under reveal_type() ^^ [15:41:05] (but I didn’t mention that name in the page content itself because I’m not sure it makes sense to mention it) [22:48:17] string literal annotations my behated :(