forkcms/forkcms — comment on commit 0f347cc480506bfb9016df691d9e706ff20f6aa7
File:  line 0
By PeterMuusers:

You can also just change it to :

$var = array_map('strip_tags', $this->getParameter('var', 'array', array()));

simply supply an empty array as default value