End support for PHP 5.5 [MAILPOET-1317]
This commit is contained in:
@ -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
|
||||
*/
|
||||
|
Reference in New Issue
Block a user