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:
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace App\Http\Requests\helpdesk;
|
||||
|
||||
use Illuminate\Support\Arr;
|
||||
use App\Http\Requests\Request;
|
||||
use App\Model\helpdesk\Settings\CommonSettings;
|
||||
|
||||
@@ -158,6 +159,6 @@ class ClientRequest extends Request
|
||||
// $purified[] = $this->purifyArray($value);
|
||||
// }
|
||||
// }
|
||||
// return array_dot($purified);
|
||||
// return Arr::dot($purified);
|
||||
// }
|
||||
}
|
||||
|
Reference in New Issue
Block a user