Commit 48e7c025 authored by catch's avatar catch

Issue #2343787 by tim-e: Fix use of get() and set() in ContactForm getters/setters.

parent 542980f0
......@@ -81,14 +81,14 @@ class ContactForm extends ConfigEntityBundleBase implements ContactFormInterface
* {@inheritdoc}
*/
public function getRecipients() {
return $this->get('recipients');
return $this->recipients;
}
/**
* {@inheritdoc}
*/
public function setRecipients($recipients) {
$this->set('recipients', $recipients);
$this->recipients = $recipients;
return $this;
}
......@@ -96,14 +96,14 @@ public function setRecipients($recipients) {
* {@inheritdoc}
*/
public function getReply() {
return $this->get('reply');
return $this->reply;
}
/**
* {@inheritdoc}
*/
public function setReply($reply) {
$this->set('reply', $reply);
$this->reply = $reply;
return $this;
}
......@@ -111,14 +111,14 @@ public function setReply($reply) {
* {@inheritdoc}
*/
public function getWeight() {
return $this->get('weight');
return $this->weight;
}
/**
* {@inheritdoc}
*/
public function setWeight($weight) {
$this->set('weight', $weight);
$this->weight = $weight;
return $this;
}
......
Markdown is supported
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