💡 Update PHPDoc for enums in \Combodo\iTop\Renderer\BlockRenderer::RenderJsInline

This commit is contained in:
Pierre Goiffon
2021-03-08 16:38:38 +01:00
parent 210051c12d
commit 1a3e8c59c7

View File

@@ -133,10 +133,12 @@ class BlockRenderer
/**
* Return the raw output of the JS template
*
* @param string $sType javascript type only JS_TYPE_ON_INIT / JS_TYPE_ON_READY / JS_TYPE_LIVE
* @param string $sType javascript type only one of the following :
* * {@link iUiBlock::ENUM_JS_TYPE_ON_INIT}
* * {@link iUiBlock::ENUM_JS_TYPE_ON_READY}
* * {@link iUiBlock::ENUM_JS_TYPE_LIVE}
*
* @return string
* @throws \Twig\Error\LoaderError
* @throws \Twig\Error\RuntimeError
* @throws \Twig\Error\SyntaxError
*/
@@ -160,8 +162,6 @@ class BlockRenderer
* Return the raw output of the CSS template
*
* @return string
* @throws \ReflectionException
* @throws \Twig\Error\LoaderError
* @throws \Twig\Error\RuntimeError
* @throws \Twig\Error\SyntaxError
*/