Skip to content

Commit b5b7e73

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Redmine/Client/Psr18Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ private function createRequest(string $method, string $path, string $body = ''):
182182
switch ($method) {
183183
case 'POST':
184184
if ($this->isUploadCallAndFilepath($path, $body)) {
185-
@trigger_error('Upload an attachment by filepath is deprecated, use file_get_contents() to upload the file content instead.', E_USER_DEPRECATED);
185+
@trigger_error('Uploading an attachment by filepath is deprecated, use file_get_contents() to upload the file content instead.', E_USER_DEPRECATED);
186186

187187
$request = $request->withBody(
188188
$this->streamFactory->createStreamFromFile($body)

0 commit comments

Comments
 (0)