End support for PHP 5.5 [MAILPOET-1317]

This commit is contained in:
wxa
2018-10-31 15:21:34 +03:00
parent 3e22223d0c
commit 7b859660b7
6 changed files with 7 additions and 16 deletions

View File

@ -292,15 +292,6 @@ class Model extends \Sudzy\ValidModel {
return static::whereNotNull('deleted_at');
}
/**
* PHP 5.3 fix for incorrectly returned model results when using asArray() function.
* Jira reference: https://goo.gl/UZaMj5
* TODO: remove after phasing out PHP 5.3 support
*/
function asArray() {
return call_user_func_array('parent::as_array', func_get_args());
}
/**
* Rethrow PDOExceptions to prevent exposing sensitive data in stack traces
*/