plugins: PSR12 "b", "d" and "m"

This commit is contained in:
Franco Fichtner
2019-10-07 16:28:57 +02:00
parent 0d1f9d9362
commit c3328e60c0
29 changed files with 79 additions and 49 deletions
@@ -1,4 +1,5 @@
<?php
/**
* Copyright (C) 2018 Michael Muenz <m.muenz@gmail.com>
*
@@ -1,4 +1,5 @@
<?php
/**
* Copyright (C) 2019 Michael Muenz <m.muenz@gmail.com>
* Copyright (C) 2019 Deciso B.V.
@@ -1,4 +1,5 @@
<?php
/**
* Copyright (C) 2019 Michael Muenz <m.muenz@gmail.com>
* Copyright (C) 2019 Deciso B.V.
@@ -50,7 +51,7 @@ class RecordController extends ApiMutableModelControllerBase
if ($this->request->isPost()) {
$record = $this->getModel()->getRecord($uuid);
if ($record !== null) {
(new Domain)->updateSerial((string)$record->domain)->serializeToConfig();
(new Domain())->updateSerial((string)$record->domain)->serializeToConfig();
Config::getInstance()->save();
}
}