Update Base.php

Fixed wrong check if varValue is an array