Skip to content

Commit 360d73d

Browse files
Art4kbsali
andauthored
Update src/Redmine/Client/NativeCurlClient.php
Co-authored-by: Kevin Saliou <[email protected]>
1 parent b5b7e73 commit 360d73d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Redmine/Client/NativeCurlClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ private function createCurl(string $method, string $path, string $body = '')
272272
case 'post':
273273
$curlOptions[CURLOPT_POST] = 1;
274274
if ($this->isUploadCallAndFilepath($path, $body)) {
275-
@trigger_error('Upload an attachment by filepath is deprecated, use file_get_contents() to upload the file content instead.', E_USER_DEPRECATED);
275+
@trigger_error('Uploading an attachment by filepath is deprecated, use file_get_contents() to upload the file content instead.', E_USER_DEPRECATED);
276276

277277
$file = fopen($body, 'r');
278278
$size = filesize($body);

0 commit comments

Comments
 (0)