From 1b0ef468f389832bf598b029548e199bd435776d Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Thu, 21 Dec 2023 13:09:05 +0000 Subject: [PATCH] CommonThreadPartsTrait: remove outdated documentation This is now automatically called by the final run(), and the user now only needs to implement onRun(), so they have no business calling this function. --- src/thread/CommonThreadPartsTrait.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/thread/CommonThreadPartsTrait.php b/src/thread/CommonThreadPartsTrait.php index 9cd2b68f9..9a14b2345 100644 --- a/src/thread/CommonThreadPartsTrait.php +++ b/src/thread/CommonThreadPartsTrait.php @@ -78,9 +78,7 @@ trait CommonThreadPartsTrait{ /** * Registers the class loaders for this thread. * - * WARNING: This method MUST be called from any descendent threads' run() method to make autoloading usable. - * If you do not do this, you will not be able to use new classes that were not loaded when the thread was started - * (unless you are using a custom autoloader). + * @internal */ public function registerClassLoaders() : void{ if($this->composerAutoloaderPath !== null){