You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Redmine/Api/AbstractApi.php
+7-6Lines changed: 7 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ public function __construct(Client $client)
38
38
*/
39
39
publicfunctionlastCallFailed()
40
40
{
41
-
@trigger_error('`'.__METHOD__.'()` is deprecated since v2.1.0, use \Redmine\Client\Client::getLastResponseStatusCode() instead.', E_USER_DEPRECATED);
41
+
@trigger_error('`' . __METHOD__ . '()` is deprecated since v2.1.0, use \Redmine\Client\Client::getLastResponseStatusCode() instead.', E_USER_DEPRECATED);
@trigger_error('`'.__METHOD__.'()` is deprecated since v2.3.0, use `\Redmine\Serializer\XmlSerializer::createFromArray()` instead.', E_USER_DEPRECATED);
273
+
@trigger_error('`' . __METHOD__ . '()` is deprecated since v2.3.0, use `\Redmine\Serializer\XmlSerializer::createFromArray()` instead.', E_USER_DEPRECATED);
273
274
274
275
$_fields = $xml->addChild('custom_fields');
275
276
$_fields->addAttribute('type', 'array');
@@ -324,7 +325,7 @@ private function getLastResponseBodyAsArray(): array
324
325
}
325
326
326
327
if (!is_array($returnData)) {
327
-
thrownewSerializerException('Could not convert response body into array: '.$body);
328
+
thrownewSerializerException('Could not convert response body into array: ' . $body);
0 commit comments