Skip to content

Commit cc66715

Browse files
committed
Merge pull request #65 from kongoon/patch-1
Fixed error when array_key_exits
2 parents 35f25f2 + e4873e0 commit cc66715

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/BaseRenderer.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,12 @@ abstract class BaseRenderer extends Object
6666
/**
6767
* @var array the HTML options for the `remove` button
6868
*/
69-
public $removeButtonOptions;
69+
public $removeButtonOptions = [];
7070

7171
/**
7272
* @var array the HTML options for the `add` button
7373
*/
74-
public $addButtonOptions;
74+
public $addButtonOptions = [];
7575

7676
/**
7777
* @var bool whether to allow the empty list
@@ -282,4 +282,4 @@ protected function collectJsTemplates($except = [])
282282
}
283283
return $output;
284284
}
285-
}
285+
}

0 commit comments

Comments
 (0)