setHeaders(); $instance = Hooks::getInstance(); if ( $par === 'image' && method_exists( $instance, 'showImage' ) ) { // @todo: Do this in a more OOP way /** @phan-suppress-next-line PhanUndeclaredMethod */ $instance->showImage(); return; } $instance->showHelp(); } }