diff --git a/src/applications/xhprof/storage/PhabricatorXHProfSample.php b/src/applications/xhprof/storage/PhabricatorXHProfSample.php index 3384ef3be2..d55b08a63c 100644 --- a/src/applications/xhprof/storage/PhabricatorXHProfSample.php +++ b/src/applications/xhprof/storage/PhabricatorXHProfSample.php @@ -43,7 +43,7 @@ final class PhabricatorXHProfSample public function getDisplayName() { $request_path = $this->getRequestPath(); - if (strlen($request_path)) { + if (phutil_nonempty_string($request_path)) { return $request_path; }