Answer the question
In order to leave comments, you need to log in
Why is the tooltip not displayed?
protected function successMessage($message)
{
$_SESSION['alert'] = [
'result' => 'success',
'message' => $message
];
}
$this->successMessage('Сообщение'); // нет подсветки параметра - message:
protected function successMsg($msg)
{
$_SESSION['alert'] = [
'result' => 'success',
'message' => $msg
];
}
$this->successMsg( /*msg:*/ 'Сообщение'); // есть подсветка параметра
Answer the question
In order to leave comments, you need to log in
It is not displayed because in the settings this word is blacklisted inline hints.
If you still want to use this parameter name, go to Config/Editor/Inline hints/PHP and in this tab open "black list..." and delete the rule(message)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question