@@ -33,7 +33,7 @@ class JsonapiParse implements JsonapiParseInterface {
publicfunctionparse($response){
// @todo Remove in the release 2.0 with removed the deprecated srings input.
if(!$responseinstanceofResponse){
@trigger_error('Parsing strings is deprecated deprecated in jsonapi_include:8.x-1.7 and is removed from jsonapi_include:8.x-2.0. Pass the full Response object instead. See https://www.drupal.org/project/jsonapi_include/issues/3374410',E_USER_DEPRECATED);
@trigger_error('Parsing strings is deprecated in jsonapi_include:8.x-1.7 and is removed from jsonapi_include:8.x-2.0. Pass the full Response object instead. See https://www.drupal.org/project/jsonapi_include/issues/3374410',E_USER_DEPRECATED);
$content=$this->parseJsonContent($response);
returnJson::encode($content);
}
...
...
@@ -100,6 +100,8 @@ class JsonapiParse implements JsonapiParseInterface {
*
* @param array|mixed $resource
* The resource.
* @param string $key
* The key.
*
* @return array
* The result.
...
...
@@ -123,7 +125,6 @@ class JsonapiParse implements JsonapiParseInterface {
*
* @param array|mixed $resource
* The resource to verify.
*
* @param string $key
* Relationship key.
*
...
...
@@ -143,7 +144,6 @@ class JsonapiParse implements JsonapiParseInterface {
*
* @param array|mixed $data
* The data for resolve.
*
* @param string $key
* Relationship key.
*
...
...
@@ -164,7 +164,6 @@ class JsonapiParse implements JsonapiParseInterface {
*
* @param array|mixed $links
* The data for resolve.
*
* @param string $key
* Relationship key.
*
...
...
@@ -192,7 +191,6 @@ class JsonapiParse implements JsonapiParseInterface {