Commit 4e5542b3 authored by Michael Danielczok's avatar Michael Danielczok

refactor: code style.

parent 0f34a8ac
......@@ -245,7 +245,7 @@ class Brick extends QUI\QDOM
);
//check if is json
if (is_string($this->cssClasses)){
if (is_string($this->cssClasses)) {
$jsonArray = json_decode($this->cssClasses);
if (is_array($jsonArray)) {
......@@ -262,7 +262,7 @@ class Brick extends QUI\QDOM
$oldCssClassesJson = json_decode($oldCssClasses, true);
if (is_array($oldCssClassesJson)){
if (is_array($oldCssClassesJson)) {
$oldCssClasses = $oldCssClassesJson;
}
......
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