MINOR Fixing method signatures not compliant with the parent

This commit is contained in:
Sean Harvey 2012-04-12 11:23:15 +12:00
parent 5e567cbf80
commit 8325d73665
2 changed files with 4 additions and 4 deletions

View File

@ -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.

View File

@ -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";