diff --git a/src/QUI/Bricks/Brick.php b/src/QUI/Bricks/Brick.php
index b642953b77f8cddf25bac5128c45537f42bf46b9..7b4493e0a3d48968c27dbf398bdf1b5f93aeaaad 100644
--- a/src/QUI/Bricks/Brick.php
+++ b/src/QUI/Bricks/Brick.php
@@ -99,6 +99,10 @@ public function __construct($params = array())
         if (isset($params['classes'])) {
             $cssClasses = json_decode($params['classes'], true);
 
+            if (!$cssClasses) {
+                $cssClasses = array();
+            }
+
             foreach ($cssClasses as $cssClass) {
                 $this->addCSSClass($cssClass);
             }