From b58dfbacd406f6f84cb346089d114b0c1b3c48a8 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Thu, 14 Dec 2023 15:25:00 +1300 Subject: [PATCH] MNT Update @methods on class docblocks --- src/DataObjects/QueuedJobDescriptor.php | 3 +-- src/Extensions/ScheduledExecutionExtension.php | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/DataObjects/QueuedJobDescriptor.php b/src/DataObjects/QueuedJobDescriptor.php index cedaaffc..09e67b64 100644 --- a/src/DataObjects/QueuedJobDescriptor.php +++ b/src/DataObjects/QueuedJobDescriptor.php @@ -52,10 +52,9 @@ * @property bool $NotifiedBroken * @property int $WorkerCount * - * @method Member RunAs() Member to run this job as - * * @author Marcus Nyeholt * @license BSD http://silverstripe.org/bsd-license/ + * @method Member RunAs() */ class QueuedJobDescriptor extends DataObject { diff --git a/src/Extensions/ScheduledExecutionExtension.php b/src/Extensions/ScheduledExecutionExtension.php index fd23caba..ead6cc4f 100644 --- a/src/Extensions/ScheduledExecutionExtension.php +++ b/src/Extensions/ScheduledExecutionExtension.php @@ -23,6 +23,7 @@ * * @author marcus@symbiote.com.au * @license BSD License http://silverstripe.org/bsd-license/ + * @method QueuedJobDescriptor ScheduledJob() */ class ScheduledExecutionExtension extends DataExtension {