From bc5cacaa5388dd38f0b0cf342b66b75f0242d147 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Thu, 14 Dec 2023 15:13:03 +1300 Subject: [PATCH] MNT Update @methods on class docblocks --- src/Model/BrokenExternalLink.php | 2 +- src/Model/BrokenExternalPageTrack.php | 3 +++ src/Model/BrokenExternalPageTrackStatus.php | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/Model/BrokenExternalLink.php b/src/Model/BrokenExternalLink.php index 1a896df..8e9c39f 100644 --- a/src/Model/BrokenExternalLink.php +++ b/src/Model/BrokenExternalLink.php @@ -14,8 +14,8 @@ * * @property string Link * @property int HTTPCode - * @method BrokenExternalPageTrack Track() * @method BrokenExternalPageTrackStatus Status() + * @method BrokenExternalPageTrack Track() */ class BrokenExternalLink extends DataObject { diff --git a/src/Model/BrokenExternalPageTrack.php b/src/Model/BrokenExternalPageTrack.php index d1b257f..be7b8be 100644 --- a/src/Model/BrokenExternalPageTrack.php +++ b/src/Model/BrokenExternalPageTrack.php @@ -10,6 +10,9 @@ /** * Represents a track for a single page + * @method SilverStripe\ORM\HasManyList BrokenLinks() + * @method SiteTree Page() + * @method BrokenExternalPageTrackStatus Status() */ class BrokenExternalPageTrack extends DataObject { diff --git a/src/Model/BrokenExternalPageTrackStatus.php b/src/Model/BrokenExternalPageTrackStatus.php index e351c13..a21d9e1 100644 --- a/src/Model/BrokenExternalPageTrackStatus.php +++ b/src/Model/BrokenExternalPageTrackStatus.php @@ -10,10 +10,10 @@ /** * Represents the status of a track run * - * @method DataList TrackedPages() - * @method DataList BrokenLinks() * @property int $TotalPages Get total pages count * @property int $CompletedPages Get completed pages count + * @method SilverStripe\ORM\HasManyList BrokenLinks() + * @method SilverStripe\ORM\HasManyList TrackedPages() */ class BrokenExternalPageTrackStatus extends DataObject implements i18nEntityProvider {