Fixes: Implementation is incorrect in this case: addChild(foo);

Pressing Ctrl+Shift+1 when the cursor is on foo only offers to generate a public function; I guess because addChild is declared in another class.
Could it be < 0 and cause problems in some cases?