Skip to content

Commit

Permalink
MNT Update @methods on class docblocks
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Dec 14, 2023
1 parent 057fa49 commit 486bcad
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Extensions/ElementalPageExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
use SilverStripe\View\SSViewer;

/**
* @method ElementalArea ElementalArea()
* @property int ElementalAreaID
* @method ElementalArea ElementalArea()
*/
class ElementalPageExtension extends ElementalAreasExtension
{
Expand Down
3 changes: 1 addition & 2 deletions src/Models/BaseElement.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,8 @@
* @property string $Style
* @property int $ParentID
*
* @method ElementalArea Parent()
*
* @mixin Versioned
* @method ElementalArea Parent()
*/
class BaseElement extends DataObject implements CMSPreviewable
{
Expand Down
1 change: 1 addition & 0 deletions src/Models/ElementalArea.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
* @property string $OwnerClassName
*
* @mixin Versioned
* @method HasManyList<BaseElement> Elements()
*/
class ElementalArea extends DataObject
{
Expand Down
2 changes: 1 addition & 1 deletion src/TopPage/DataExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
* with deeply nested block structures. Apply to @see BaseElement and @see ElementalArea.
*
* @property int $TopPageID
* @method SiteTree TopPage()
* @property BaseElement|ElementalArea|$this $owner
* @package DNADesign\Elemental\TopPage
* @method SiteTree TopPage()
*/
class DataExtension extends BaseDataExtension
{
Expand Down

0 comments on commit 486bcad

Please sign in to comment.