mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
MINOR Fixing method signatures not compliant with the parent
This commit is contained in:
parent
5e567cbf80
commit
8325d73665
@ -108,8 +108,8 @@ class ReportAdmin extends LeftAndMain implements PermissionProvider {
|
||||
* Returns the Breadcrumbs for the ReportAdmin
|
||||
* @return ArrayList
|
||||
*/
|
||||
public function Breadcrumbs() {
|
||||
$items = parent::Breadcrumbs();
|
||||
public function Breadcrumbs($unlinked = false) {
|
||||
$items = parent::Breadcrumbs($unlinked);
|
||||
|
||||
// The root element should explicitly point to the root node.
|
||||
// Uses session state for current record otherwise.
|
||||
|
@ -61,7 +61,7 @@ class WidgetAreaEditor extends FormField {
|
||||
return $this->form->getRecord()->getComponent($relationName)->ID;
|
||||
}
|
||||
|
||||
function saveInto(DataObject $record) {
|
||||
function saveInto(DataObjectInterface $record) {
|
||||
$name = $this->name;
|
||||
$idName = $name . "ID";
|
||||
|
||||
@ -139,4 +139,4 @@ class WidgetAreaEditor extends FormField {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user