Skip to content

Commit 7131aa7

Browse files
committed
PHP 8.2 - Fixed dynamic property declaration deprecation.
1 parent 301554e commit 7131aa7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/NLPCloud.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ class NLPCloud
88
const API_VERSION = 'v1';
99
const BASE_URL = 'https://api.nlpcloud.io';
1010

11+
protected $headers;
12+
protected $rootURL;
13+
1114
public function __construct($model, $token, $gpu = false, $lang = '', $asynchronous = false)
1215
{
1316
$this->headers = array(

0 commit comments

Comments
 (0)