array_get deprecated

This commit is contained in:
Deon George
2020-01-11 22:05:05 +11:00
parent c941fcb148
commit 34c0380c99
6 changed files with 12 additions and 10 deletions

View File

@@ -2,6 +2,8 @@
namespace App\Classes;
use Illuminate\Support\Arr;
class SSL
{
// Our CSR
@@ -29,7 +31,7 @@ class SSL
private function cn()
{
$subject = array_get($this->crt,'subject');
$subject = Arr::get($this->crt,'subject');
if (! $subject AND $this->csr_pem) {
$subject = openssl_csr_get_subject($this->csr_pem);