From 76d22d70e4292aadc96a419f88436e36bd39dd2d Mon Sep 17 00:00:00 2001 From: Andre Klapper Date: Wed, 3 Jul 2024 08:29:47 +0200 Subject: [PATCH] Correct PHPDoc of dropSymbolCache() Summary: `dropSymbolCache()` does not return anything, and its only call in `rebuild-map.php` does not expect a return value either. Thus replace `@return this` with `@return void`. Test Plan: Read/grep the code. Reviewers: O1 Blessed Committers, valerio.bozzolan Reviewed By: O1 Blessed Committers, valerio.bozzolan Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno Differential Revision: https://we.phorge.it/D25720 --- src/moduleutils/PhutilLibraryMapBuilder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/moduleutils/PhutilLibraryMapBuilder.php b/src/moduleutils/PhutilLibraryMapBuilder.php index 5d359bbc..7997bf57 100644 --- a/src/moduleutils/PhutilLibraryMapBuilder.php +++ b/src/moduleutils/PhutilLibraryMapBuilder.php @@ -212,7 +212,7 @@ final class PhutilLibraryMapBuilder extends Phobject { /** * Drop the symbol cache, forcing a clean rebuild. * - * @return this + * @return void * * @task symbol */