Skip to content

Commit

Permalink
Merge pull request #114 from creative-commoners/pulls/3.1/docblock
Browse files Browse the repository at this point in the history
MNT Update @methods on class docblocks
  • Loading branch information
GuySartorelli authored Dec 14, 2023
2 parents 018618d + bc5caca commit 040d77e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Model/BrokenExternalLink.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
*
* @property string Link
* @property int HTTPCode
* @method BrokenExternalPageTrack Track()
* @method BrokenExternalPageTrackStatus Status()
* @method BrokenExternalPageTrack Track()
*/
class BrokenExternalLink extends DataObject
{
Expand Down
3 changes: 3 additions & 0 deletions src/Model/BrokenExternalPageTrack.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@

/**
* Represents a track for a single page
* @method SilverStripe\ORM\HasManyList<BrokenExternalLink> BrokenLinks()
* @method SiteTree Page()
* @method BrokenExternalPageTrackStatus Status()
*/
class BrokenExternalPageTrack extends DataObject
{
Expand Down
4 changes: 2 additions & 2 deletions src/Model/BrokenExternalPageTrackStatus.php
Original file line number Diff line number Diff line change
Expand Up @@ -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<BrokenExternalLink> BrokenLinks()
* @method SilverStripe\ORM\HasManyList<BrokenExternalPageTrack> TrackedPages()
*/
class BrokenExternalPageTrackStatus extends DataObject implements i18nEntityProvider
{
Expand Down

0 comments on commit 040d77e

Please sign in to comment.