Skip to content

Commit

Permalink
add call init function
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-chepurnoi committed Nov 22, 2016
1 parent bb7d389 commit f1238ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions GoogleMaps.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ class GoogleMaps extends Widget
*/
public function init()
{
parent::init();

if (is_array($this->userLocations) === false) {
throw new InvalidConfigException('The "userLocations" property must be of the type array');
}
Expand Down

0 comments on commit f1238ed

Please sign in to comment.