From 5ef6d925eed1116bad489dc5ac485d6070263052 Mon Sep 17 00:00:00 2001 From: Steve Boyd <emteknetnz@gmail.com> Date: Wed, 22 May 2024 10:47:53 +1200 Subject: [PATCH] DOC Update extension hook examples to be protected --- docs/en/dependant-jobs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/dependant-jobs.md b/docs/en/dependant-jobs.md index 218f7ec3..41d63785 100644 --- a/docs/en/dependant-jobs.md +++ b/docs/en/dependant-jobs.md @@ -20,7 +20,7 @@ In this situation, it's recommended to use the _Dependant job_ approach. Use the `updateJobDescriptorAndJobOnCompletion` extension point in `QueuedJobService::runJob()` like this: ```php -public function updateJobDescriptorAndJobOnCompletion( +protected function updateJobDescriptorAndJobOnCompletion( QueuedJobDescriptor $descriptor, QueuedJob $job ): void