Fix circles.

This commit is contained in:
David Molineus
2016-10-05 13:35:04 +02:00
parent 1bb9fb4d7a
commit 7d3c053bd1
3 changed files with 4 additions and 4 deletions

View File

@@ -12,6 +12,7 @@
namespace Netzmacht\Contao\Leaflet\Mapper;
use Netzmacht\LeafletPHP\Definition;
use Netzmacht\LeafletPHP\Definition\HasOptions;
/**
* Class OptionsBuilder handles the option mapping between the database model and the definition.
@@ -236,7 +237,7 @@ class OptionsBuilder
if (method_exists($definition, $setter)) {
$definition->$setter($value);
} else {
} elseif ($definition instanceOf HasOptions) {
$definition->setOption($option, $value);
}
}