Skip to content

Commit 8520adb

Browse files
committed
Merge branch 'main' of github.com:lesstif/php-JiraCloud-RESTAPI
* 'main' of github.com:lesstif/php-JiraCloud-RESTAPI: Apply fixes from StyleCI (#43)
2 parents 98732a3 + fbfe7e8 commit 8520adb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Attachment/AttachmentService.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ class AttachmentService extends \JiraCloud\JiraClient
2121
* @mode int outDir creation mode.
2222
* @recursive boolean Allows the creation of nested directories specified in the pathname.
2323
*
24-
*@return Attachment
2524
*@throws JiraException
26-
*
2725
* @throws \JsonMapper_Exception
26+
*
27+
*@return Attachment
2828
*/
29-
public function get(int|string $id, string $outDir = null, bool $overwrite = false, int $mode = 0777, bool $recursive = true) : Attachment
29+
public function get(int|string $id, string $outDir = null, bool $overwrite = false, int $mode = 0777, bool $recursive = true): Attachment
3030
{
3131
$ret = $this->exec($this->uri.$id, null);
3232

@@ -63,11 +63,11 @@ public function get(int|string $id, string $outDir = null, bool $overwrite = fal
6363
*
6464
* @param int|string $id attachment id
6565
*
66-
* @return string
6766
*@throws JiraException
6867
*
68+
* @return string
6969
*/
70-
public function remove(int|string $id) : string
70+
public function remove(int|string $id): string
7171
{
7272
$ret = $this->exec($this->uri.$id, null, 'DELETE');
7373

0 commit comments

Comments
 (0)