Hi,
it looks like there is a bug in the separator function of the MenuItem class (\Kendo\UI\MenuItem). It uses the variable $value which can't be passed to the function when calling it.
I am using the latest Kendo UI and UI for PHP version (2016.2.714). This is the original source code from MenuItem.php lines 42 to 48:
/**
* Specifies the item should render separator
* @return \Kendo\UI\ContextMenuItem
*/
public
function
separator() {
return
$this
->setProperty(
'separator'
,
$value
);
}
I think that should be something like this:
/**
* Specifies the item should render separator
* @param boolean $value
* @return \Kendo\UI\ContextMenuItem
*/
public
function
separator(
$value
) {
return
$this
->setProperty(
'separator'
,
$value
);
}
Best regards
Thomas