|
|
@@ -527,12 +527,10 @@ class Organization
|
|
|
|
|
|
public function setSettings(Settings $settings): self
|
|
|
{
|
|
|
- // set the owning side of the relation if necessary
|
|
|
- if ($settings->getOrganization() !== $this) {
|
|
|
- $settings->setOrganization($this);
|
|
|
- }
|
|
|
-
|
|
|
$this->settings = $settings;
|
|
|
+
|
|
|
+ // set the owning side of the relation
|
|
|
+ $settings->setOrganization($this);
|
|
|
|
|
|
return $this;
|
|
|
}
|