Skip to content

MIR1701

ImpureMethodCall

A @pure function calls an impure method.

<?php
/** @pure */ function f(C $o){ $o->mutate(); }

Call only pure methods, or drop @pure.