Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MINOR Fixing method signatures not compliant with the parent

  • Loading branch information...
commit 8325d73665b6c47edae3f3b9756314d8e368adff 1 parent 5e567cb
@halkyon halkyon authored
View
4 code/controllers/ReportAdmin.php
@@ -108,8 +108,8 @@ public static function has_reports() {
* 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
4 code/widgets/WidgetAreaEditor.php
@@ -61,7 +61,7 @@ function Value() {
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 @@ function saveInto(DataObject $record) {
}
}
}
-}
+}
Please sign in to comment.
Something went wrong with that request. Please try again.