Merge pull request #114 from creative-commoners/pulls/3.1/docblock

MNT Update @methods on class docblocks
This commit is contained in:
Guy Sartorelli 2023-12-15 12:47:31 +13:00 committed by GitHub
commit 040d77e5c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 3 deletions

View File

@ -14,8 +14,8 @@ use SilverStripe\Security\Security;
* *
* @property string Link * @property string Link
* @property int HTTPCode * @property int HTTPCode
* @method BrokenExternalPageTrack Track()
* @method BrokenExternalPageTrackStatus Status() * @method BrokenExternalPageTrackStatus Status()
* @method BrokenExternalPageTrack Track()
*/ */
class BrokenExternalLink extends DataObject class BrokenExternalLink extends DataObject
{ {

View File

@ -10,6 +10,9 @@ use SilverStripe\ORM\DataObject;
/** /**
* Represents a track for a single page * Represents a track for a single page
* @method SilverStripe\ORM\HasManyList<BrokenExternalLink> BrokenLinks()
* @method SiteTree Page()
* @method BrokenExternalPageTrackStatus Status()
*/ */
class BrokenExternalPageTrack extends DataObject class BrokenExternalPageTrack extends DataObject
{ {

View File

@ -10,10 +10,10 @@ use SilverStripe\ORM\DataObject;
/** /**
* Represents the status of a track run * Represents the status of a track run
* *
* @method DataList TrackedPages()
* @method DataList BrokenLinks()
* @property int $TotalPages Get total pages count * @property int $TotalPages Get total pages count
* @property int $CompletedPages Get completed pages count * @property int $CompletedPages Get completed pages count
* @method SilverStripe\ORM\HasManyList<BrokenExternalLink> BrokenLinks()
* @method SilverStripe\ORM\HasManyList<BrokenExternalPageTrack> TrackedPages()
*/ */
class BrokenExternalPageTrackStatus extends DataObject implements i18nEntityProvider class BrokenExternalPageTrackStatus extends DataObject implements i18nEntityProvider
{ {