From db281db642121cb7241173127dedf679cead1171 Mon Sep 17 00:00:00 2001 From: Jeffrey Way Date: Thu, 14 Mar 2013 10:28:08 -0400 Subject: [PATCH] Attributes defaults to empty array --- HtmlBuilder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HtmlBuilder.php b/HtmlBuilder.php index 17f01a3..adbae24 100644 --- a/HtmlBuilder.php +++ b/HtmlBuilder.php @@ -56,7 +56,7 @@ class HtmlBuilder { * @param array $attributes * @return string */ - protected static function listing($type, $list, $attributes) + protected static function listing($type, $list, $attributes = array()) { $html = '';