Donut: conform to PHP 5.3
This commit is contained in:
parent
7f5962dfae
commit
cf9307fcc4
|
@ -385,7 +385,7 @@ class Donut
|
||||||
|
|
||||||
protected function renderAttributes(array $attributes)
|
protected function renderAttributes(array $attributes)
|
||||||
{
|
{
|
||||||
$html = [];
|
$html = array();
|
||||||
|
|
||||||
foreach ($attributes as $name => $value) {
|
foreach ($attributes as $name => $value) {
|
||||||
if ($value === null) {
|
if ($value === null) {
|
||||||
|
|
Loading…
Reference in New Issue