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.
This commit is contained in:
Dylan K. Taylor 2023-12-21 13:09:05 +00:00
parent b69843a8bd
commit 1b0ef468f3
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -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){