diff --git a/src/Commands/core/XhprofCommands.php b/src/Commands/core/XhprofCommands.php index 6827fd8695..47df228f68 100644 --- a/src/Commands/core/XhprofCommands.php +++ b/src/Commands/core/XhprofCommands.php @@ -54,7 +54,7 @@ function xhprofPost($result, CommandData $commandData) { */ function xhprofInitialize(InputInterface $input, AnnotationData $annotationData) { if (self::xhprofIsEnabled($input)) { - xhprof_enable(xh_flags($input->getOptions())); + xhprof_enable(self::xhprofFlags($input->getOptions())); } }