`null !== $child->getClickedButton()` is not needed IMO