forked from Snck3rs/contao-leaflet-maps
Code style fixes.
This commit is contained in:
@@ -54,7 +54,7 @@ abstract class AbstractMapHybrid extends AbstractHybrid
|
|||||||
* @param TemplateFactory $templateFactory Template factory.
|
* @param TemplateFactory $templateFactory Template factory.
|
||||||
* @param Translator $translator Translator.
|
* @param Translator $translator Translator.
|
||||||
* @param MapProvider $mapProvider Map provider.
|
* @param MapProvider $mapProvider Map provider.
|
||||||
* @param \Input $input Input
|
* @param \Input $input Request Input.
|
||||||
* @param \Config $config Config.
|
* @param \Config $config Config.
|
||||||
* @param string $column Column in which the element appears.
|
* @param string $column Column in which the element appears.
|
||||||
*/
|
*/
|
||||||
@@ -142,5 +142,10 @@ abstract class AbstractMapHybrid extends AbstractHybrid
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the component identifier which is used as unique name.
|
||||||
|
*
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
abstract protected function getIdentifier();
|
abstract protected function getIdentifier();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -237,7 +237,7 @@ class OptionsBuilder
|
|||||||
|
|
||||||
if (method_exists($definition, $setter)) {
|
if (method_exists($definition, $setter)) {
|
||||||
$definition->$setter($value);
|
$definition->$setter($value);
|
||||||
} elseif ($definition instanceOf HasOptions) {
|
} elseif ($definition instanceof HasOptions) {
|
||||||
$definition->setOption($option, $value);
|
$definition->setOption($option, $value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user