Replace deprecated array and string helpers
Laravel recommends using the `Str` and `Arr` class methods directly instead of the respective helper functions. These helper functions are deprecated in Laravel 5.8 and removed in Laravel 6.
This commit is contained in:
@@ -3,10 +3,10 @@
|
||||
Lang::get('lang.status')=>$status->name,
|
||||
Lang::get('lang.priority')=>$priority->priority_desc,
|
||||
Lang::get('lang.department')=>$dept123->name,
|
||||
Lang::get('lang.email')=>str_limit($user->email,30),
|
||||
Lang::get('lang.email')=>Str::limit($user->email,30),
|
||||
Lang::get('lang.source')=>$ticket_source,
|
||||
Lang::get('lang.help_topic')=>$help_topic->topic,
|
||||
Lang::get('lang.last_message')=>str_limit($username,30),
|
||||
Lang::get('lang.last_message')=>Str::limit($username,30),
|
||||
Lang::get('lang.organization') => $LastResponse->getOrgWithLink(),
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user