diff --git a/src/error/PhutilErrorHandler.php b/src/error/PhutilErrorHandler.php --- a/src/error/PhutilErrorHandler.php +++ b/src/error/PhutilErrorHandler.php @@ -300,7 +300,7 @@ /** * Output a stacktrace to the PHP error log. * - * @param trace $trace A stacktrace, e.g. from debug_backtrace(); + * @param array $trace A stacktrace, e.g. from debug_backtrace(); * @return void * @task internal */ @@ -315,7 +315,7 @@ /** * Format a stacktrace for output. * - * @param trace $trace A stacktrace, e.g. from debug_backtrace(); + * @param array $trace A stacktrace, e.g. from debug_backtrace(); * @return string Human-readable trace. * @task internal */ diff --git a/src/repository/api/ArcanistGitAPI.php b/src/repository/api/ArcanistGitAPI.php --- a/src/repository/api/ArcanistGitAPI.php +++ b/src/repository/api/ArcanistGitAPI.php @@ -404,7 +404,7 @@ /** * Translates a symbolic commit (like "HEAD^") to a commit identifier. - * @param string_symbol $symbolic_commit commit. + * @param string $symbolic_commit commit. * @return string the commit SHA. */ private function resolveCommit($symbolic_commit) { diff --git a/src/repository/api/ArcanistMercurialAPI.php b/src/repository/api/ArcanistMercurialAPI.php --- a/src/repository/api/ArcanistMercurialAPI.php +++ b/src/repository/api/ArcanistMercurialAPI.php @@ -734,7 +734,7 @@ * * @param array $child_nodes The list of child changesets off the original * commit. - * @param file $tmp_file The file containing the new commit message. + * @param wild $tmp_file The file containing the new commit message. */ private function amendNonHeadCommit($child_nodes, $tmp_file) { list($current) = $this->execxLocal( diff --git a/src/upload/ArcanistFileDataRef.php b/src/upload/ArcanistFileDataRef.php --- a/src/upload/ArcanistFileDataRef.php +++ b/src/upload/ArcanistFileDataRef.php @@ -65,7 +65,7 @@ * data, or by calling @{method:setPath} and providing a path to a file on * disk. * - * @param bytes $data Blob of file data. + * @param wild $data Blob of file data. * @task config */ public function setData($data) { diff --git a/src/utils/utils.php b/src/utils/utils.php --- a/src/utils/utils.php +++ b/src/utils/utils.php @@ -1692,7 +1692,7 @@ /** * Build a query string from a list of parameter pairs. * - * @param list> $pairs List of pairs. + * @param list> $pairs List of pairs. * @return string HTTP query string. */ function phutil_build_http_querystring_from_pairs(array $pairs) { diff --git a/src/workflow/ArcanistWorkflow.php b/src/workflow/ArcanistWorkflow.php --- a/src/workflow/ArcanistWorkflow.php +++ b/src/workflow/ArcanistWorkflow.php @@ -1633,7 +1633,7 @@ * * @param list $paths List of explicitly provided paths. * @param string|null $rev Revision name, if provided. - * @param mask $omit_mask (optional) Mask of ArcanistRepositoryAPI + * @param int $omit_mask (optional) Mask of ArcanistRepositoryAPI * flags to exclude. * Defaults to ArcanistRepositoryAPI::FLAG_UNTRACKED. * @return list List of paths the workflow should act on.