Skip to content
This repository
Browse code

MINOR Fixing method signatures not compliant with the parent

  • Loading branch information...
commit 8325d73665b6c47edae3f3b9756314d8e368adff 1 parent 5e567cb
Sean Harvey authored April 12, 2012
4  code/controllers/ReportAdmin.php
@@ -108,8 +108,8 @@ public static function has_reports() {
108 108
 	 * Returns the Breadcrumbs for the ReportAdmin
109 109
 	 * @return ArrayList
110 110
 	 */
111  
-	public function Breadcrumbs() {
112  
-		$items = parent::Breadcrumbs();
  111
+	public function Breadcrumbs($unlinked = false) {
  112
+		$items = parent::Breadcrumbs($unlinked);
113 113
 		
114 114
 		// The root element should explicitly point to the root node.
115 115
 		// Uses session state for current record otherwise.
4  code/widgets/WidgetAreaEditor.php
@@ -61,7 +61,7 @@ function Value() {
61 61
 		return $this->form->getRecord()->getComponent($relationName)->ID;
62 62
 	}
63 63
 	
64  
-	function saveInto(DataObject $record) {
  64
+	function saveInto(DataObjectInterface $record) {
65 65
 		$name = $this->name;
66 66
 		$idName = $name . "ID";
67 67
 
@@ -139,4 +139,4 @@ function saveInto(DataObject $record) {
139 139
 			}
140 140
 		}
141 141
 	}
142  
-}
  142
+}

0 notes on commit 8325d73

Please sign in to comment.
Something went wrong with that request. Please try again.