mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Merge branch 'master' into pulls/4.0/fix-coverage-test
This commit is contained in:
commit
c70bd1f115
@ -4,7 +4,7 @@ namespace SilverStripe\CMS\Controllers;
|
||||
|
||||
use SilverStripe\Admin\AdminRootController;
|
||||
use SilverStripe\Admin\CMSBatchActionHandler;
|
||||
use SilverStripe\Admin\CMSPreviewable;
|
||||
use SilverStripe\ORM\CMSPreviewable;
|
||||
use SilverStripe\Admin\LeftAndMain;
|
||||
use SilverStripe\CMS\BatchActions\CMSBatchAction_Archive;
|
||||
use SilverStripe\CMS\BatchActions\CMSBatchAction_Publish;
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
namespace SilverStripe\CMS\Controllers;
|
||||
|
||||
use SilverStripe\Admin\CMSPreviewable;
|
||||
use SilverStripe\ORM\CMSPreviewable;
|
||||
use SilverStripe\Core\ClassInfo;
|
||||
use SilverStripe\ORM\ArrayList;
|
||||
use SilverStripe\ORM\DataObject;
|
||||
@ -23,12 +23,12 @@ class SilverStripeNavigator extends ViewableData
|
||||
{
|
||||
|
||||
/**
|
||||
* @var DataObject|CMSPreviewable
|
||||
* @var DataObject|\SilverStripe\ORM\CMSPreviewable
|
||||
*/
|
||||
protected $record;
|
||||
|
||||
/**
|
||||
* @param DataObject|CMSPreviewable $record
|
||||
* @param DataObject|\SilverStripe\ORM\CMSPreviewable $record
|
||||
*/
|
||||
public function __construct(CMSPreviewable $record)
|
||||
{
|
||||
@ -71,7 +71,7 @@ class SilverStripeNavigator extends ViewableData
|
||||
}
|
||||
|
||||
/**
|
||||
* @return DataObject|CMSPreviewable
|
||||
* @return DataObject|\SilverStripe\ORM\CMSPreviewable
|
||||
*/
|
||||
public function getRecord()
|
||||
{
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
namespace SilverStripe\CMS\Controllers;
|
||||
|
||||
use SilverStripe\Admin\CMSPreviewable;
|
||||
use SilverStripe\ORM\CMSPreviewable;
|
||||
use SilverStripe\ORM\DataObject;
|
||||
use SilverStripe\ORM\Versioning\Versioned;
|
||||
use SilverStripe\Security\Member;
|
||||
|
@ -4,7 +4,7 @@ namespace SilverStripe\CMS\Model;
|
||||
|
||||
use Page;
|
||||
use SilverStripe\Admin\AddToCampaignHandler_FormAction;
|
||||
use SilverStripe\Admin\CMSPreviewable;
|
||||
use SilverStripe\ORM\CMSPreviewable;
|
||||
use SilverStripe\CMS\Controllers\CMSPageEditController;
|
||||
use SilverStripe\CMS\Controllers\ContentController;
|
||||
use SilverStripe\CMS\Controllers\ModelAsController;
|
||||
|
@ -19,6 +19,7 @@
|
||||
"php": ">=5.5.0",
|
||||
"composer/installers": "*",
|
||||
"silverstripe/framework": "^4.0@dev",
|
||||
"silverstripe/admin": "^1.0@dev",
|
||||
"silverstripe/reports": "^4.0@dev",
|
||||
"silverstripe/siteconfig": "^4.0@dev"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user