@@ -40,7 +40,7 @@ class PHPCreeper extends Worker
4040 *
4141 * @var string
4242 */
43- public const CURRENT_VERSION = '1.9.3 ' ;
43+ public const CURRENT_VERSION = '1.9.4 ' ;
4444
4545 /**
4646 * engine name
@@ -324,6 +324,8 @@ class PHPCreeper extends Worker
324324 'onDownloaderStop ' => null ,
325325 'onDownloaderReload ' => null ,
326326 'onDownloaderMessage ' => null ,
327+ 'onDownloaderConnectToParser ' => null ,
328+ 'onTaskEmpty ' => null ,
327329 'onBeforeDownload ' => null ,
328330 'onStartDownload ' => null ,
329331 'onAfterDownload ' => null ,
@@ -344,7 +346,6 @@ class PHPCreeper extends Worker
344346 'onServerBufferFull ' => null ,
345347 'onServerBufferDrain ' => null ,
346348 'onServerError ' => null ,
347- 'onTaskEmpty ' => null ,
348349 'onHeadlessBrowserOpenPage ' => null ,
349350 );
350351
@@ -364,6 +365,7 @@ class PHPCreeper extends Worker
364365 'onStartDownload ' => ['onDownloadStart ' ],
365366 'onAfterDownload ' => ['onDownloadAfter ' ],
366367 'onFailDownload ' => ['onDownloadFail ' ],
368+ 'onTaskEmpty ' => ['onDownloadTaskEmpty ' ],
367369 );
368370
369371 /**
0 commit comments