diff --git a/src/Extensions/ElementalPageExtension.php b/src/Extensions/ElementalPageExtension.php index 246e5128..78f87780 100644 --- a/src/Extensions/ElementalPageExtension.php +++ b/src/Extensions/ElementalPageExtension.php @@ -10,8 +10,8 @@ use SilverStripe\View\SSViewer; /** - * @method ElementalArea ElementalArea() * @property int ElementalAreaID + * @method ElementalArea ElementalArea() */ class ElementalPageExtension extends ElementalAreasExtension { diff --git a/src/Models/BaseElement.php b/src/Models/BaseElement.php index b7579eee..d0ca9805 100644 --- a/src/Models/BaseElement.php +++ b/src/Models/BaseElement.php @@ -47,9 +47,8 @@ * @property string $Style * @property int $ParentID * - * @method ElementalArea Parent() - * * @mixin Versioned + * @method ElementalArea Parent() */ class BaseElement extends DataObject implements CMSPreviewable { diff --git a/src/Models/ElementalArea.php b/src/Models/ElementalArea.php index 36b96980..48626001 100644 --- a/src/Models/ElementalArea.php +++ b/src/Models/ElementalArea.php @@ -23,6 +23,7 @@ * @property string $OwnerClassName * * @mixin Versioned + * @method HasManyList Elements() */ class ElementalArea extends DataObject { diff --git a/src/TopPage/DataExtension.php b/src/TopPage/DataExtension.php index 1964b367..8f543770 100644 --- a/src/TopPage/DataExtension.php +++ b/src/TopPage/DataExtension.php @@ -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 {