Requirement: Fix exception throw
This commit is contained in:
parent
dae38414f8
commit
b755650256
|
@ -90,7 +90,7 @@ abstract class Requirement
|
||||||
} elseif (method_exists($this, $addMethod)) {
|
} elseif (method_exists($this, $addMethod)) {
|
||||||
$this->$addMethod($value);
|
$this->$addMethod($value);
|
||||||
} else {
|
} else {
|
||||||
throw LogicException('No setter found for option key: ' . $key);
|
throw new LogicException('No setter found for option key: ' . $key);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue