I was trying to figure out how to enforce the actions to be passed their parameters, and I'm having a strange behaviour.

I have an empty action without any parameters that renders a view correctly.

When I add one parameter to the action, but I call the action without parameters, still renders perfect (no warning about the missing parameter).

On the other side, when I do

$this->view->setRenderLevel(\Phalcon\Mvc\View::LEVEL_NO_RENDER);

in the action, then I get the warning about the missing parameter.

Why is that? Is there any way to get that warning without having to change the render level?