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 * Returns the Breadcrumbs for the ReportAdmin
* @return ArrayList * @return ArrayList
*/ */
public function Breadcrumbs() { public function Breadcrumbs($unlinked = false) {
$items = parent::Breadcrumbs(); $items = parent::Breadcrumbs($unlinked);
// The root element should explicitly point to the root node. // The root element should explicitly point to the root node.
// Uses session state for current record otherwise. // Uses session state for current record otherwise.

View File

@ -61,7 +61,7 @@ class WidgetAreaEditor extends FormField {
return $this->form->getRecord()->getComponent($relationName)->ID; return $this->form->getRecord()->getComponent($relationName)->ID;
} }
function saveInto(DataObject $record) { function saveInto(DataObjectInterface $record) {
$name = $this->name; $name = $this->name;
$idName = $name . "ID"; $idName = $name . "ID";