Skip to content

Commit

Permalink
Merge branch '3.1' into 3
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 15, 2023
2 parents 310a0b5 + c3cf838 commit 6770587
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Extensions/CWPSiteConfigExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,16 @@

/**
* Class CWPCleanupSiteConfigExtension
* @method File AppleTouchIcon114()
* @method File AppleTouchIcon144()
* @method File AppleTouchIcon57()
* @method File AppleTouchIcon72()
* @method File FavIcon()
* @method Image FooterLogo()
* @method Image FooterLogoRetina()
* @method Image FooterLogoSecondary()
* @method Image Logo()
* @method Image LogoRetina()
*/
class CWPSiteConfigExtension extends DataExtension
{
Expand Down
3 changes: 3 additions & 0 deletions src/Extensions/CarouselPageExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
use SilverStripe\Forms\GridField\GridFieldVersionedState;
use SilverStripe\Forms\LiteralField;

/**
* @method SilverStripe\ORM\HasManyList<CarouselItem> CarouselItems()
*/
class CarouselPageExtension extends DataExtension
{
private static $db = [
Expand Down
6 changes: 6 additions & 0 deletions src/Model/CarouselItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@
use SilverStripe\ORM\DataObject;
use SilverStripe\Forms\FileHandleField;

/**
* @method Image Image()
* @method BaseHomePage Parent()
* @method SiteTree PrimaryCallToAction()
* @method SiteTree SecondaryCallToAction()
*/
class CarouselItem extends DataObject
{
private static $table_name = 'CarouselItem';
Expand Down

0 comments on commit 6770587

Please sign in to comment.