Check if $params is_array

Errors:
Warning: Illegal string offset 'hauth_return_to' in
/vagrant/erp/source/deploy/vendor/hybridauth/hybridauth/hybridauth/Hybrid/Auth.php
on line 265

Warning: Illegal string offset 'hauth_return_to' in
/vagrant/erp/source/deploy/vendor/hybridauth/hybridauth/hybridauth/Hybrid/Auth.php
on line 268

Warning: Cannot modify header information - headers already sent by
(output started at
/vagrant/erp/source/deploy/vendor/hybridauth/hybridauth/hybridauth/Hybrid/Auth.php:265)
in
/vagrant/erp/source/deploy/vendor/hybridauth/hybridauth/hybridauth/Hybrid/Auth.php
on line 354
Merge pull request #261 from igui-br/master

Check if $params is_array