Commit 2feb51b7 authored by Karamel's avatar Karamel
Browse files

Fix inheritance php warning on PaymentModeReturn.

parent 4028ff71
......@@ -101,7 +101,7 @@ class PaymentModeReturn extends DoctrineModel // Embedded class
public function getReturnMode() { return $this->returnMode; }
public function setReturnMode($returnMode) { $this->returnMode = $returnMode; }
public static function fromStruct($struct, $dao) {
public static function fromStruct($struct, $dao, $embedded = false) {
if (!isset($struct['minAmount'])) { // Allow the value 0
throw new \UnexpectedValueException('No minAmount set');
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment