Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MNT Update @methods on class docblocks #114

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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