Skip to content

Commit

Permalink
API Use new names for renamed classes (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored Sep 23, 2024
1 parent 105dba7 commit 4cf8489
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions code/GridFieldArbitraryData/ArbitraryDataAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
use SilverStripe\Forms\GridField\GridFieldViewButton;
use SilverStripe\Forms\HiddenField;
use SilverStripe\Forms\TextField;
use SilverStripe\ORM\ArrayList;
use SilverStripe\Model\List\ArrayList;
use SilverStripe\ORM\Queries\SQLSelect;
use SilverStripe\ORM\Search\BasicSearchContext;
use SilverStripe\View\ArrayData;
use SilverStripe\Model\ArrayData;

class ArbitraryDataAdmin extends LeftAndMain
{
Expand Down
2 changes: 1 addition & 1 deletion code/GridFieldArbitraryData/ArbitraryDataModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
use SilverStripe\ORM\FieldType\DBDatetime;
use SilverStripe\ORM\Queries\SQLDelete;
use SilverStripe\ORM\Search\BasicSearchContext;
use SilverStripe\View\ArrayData;
use SilverStripe\Model\ArrayData;

/**
* A class of arbitrary data for testing GridField components.
Expand Down
2 changes: 1 addition & 1 deletion code/elemental/ElementContentExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use SilverStripe\CMS\Model\SiteTree;
use SilverStripe\Core\Extension;
use SilverStripe\Forms\FieldList;
use SilverStripe\ORM\ValidationResult;
use SilverStripe\Core\Validation\ValidationResult;
use SilverStripe\Forms\CompositeValidator;
use SilverStripe\Forms\NumericField;
use SilverStripe\Forms\RequiredFields;
Expand Down
2 changes: 1 addition & 1 deletion code/fields/NestedGridField/NonRelationalData.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace SilverStripe\FrameworkTest\Fields\NestedGridField;

use SilverStripe\FrameworkTest\Model\Company;
use SilverStripe\ORM\ArrayList;
use SilverStripe\Model\List\ArrayList;
use SilverStripe\ORM\DataObject;

class NonRelationalData extends DataObject
Expand Down
6 changes: 3 additions & 3 deletions code/tasks/FTPageMakerTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ protected function generateBlocksForPage(Page $page)
/**
* @param SiteTree&ElementalPageExtension|null $page
* @return ElementContent
* @throws \SilverStripe\ORM\ValidationException
* @throws \SilverStripe\Core\Validation\ValidationException
*/
public static function generateContentBlock(?SiteTree $page = null)
{
Expand All @@ -147,7 +147,7 @@ public static function generateContentBlock(?SiteTree $page = null)
/**
* @param SiteTree&ElementalPageExtension|null $page
* @return FileBlock
* @throws \SilverStripe\ORM\ValidationException
* @throws \SilverStripe\Core\Validation\ValidationException
*/
public static function generateFileBlock(?SiteTree $page = null): FileBlock
{
Expand All @@ -172,7 +172,7 @@ public static function generateFileBlock(?SiteTree $page = null): FileBlock
/**
* @param SiteTree&ElementalPageExtension|null $page
* @return BannerBlock
* @throws \SilverStripe\ORM\ValidationException
* @throws \SilverStripe\Core\Validation\ValidationException
*/
public static function generateBannerBlock(?SiteTree $page = null): BannerBlock
{
Expand Down

0 comments on commit 4cf8489

Please sign in to comment.