Skip to content

Commit

Permalink
Apply fixes from StyleCI (#43)
Browse files Browse the repository at this point in the history
Co-authored-by: StyleCI Bot <[email protected]>
  • Loading branch information
lesstif and StyleCIBot authored Feb 12, 2023
1 parent 6dbd456 commit fbfe7e8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Attachment/AttachmentService.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ class AttachmentService extends \JiraCloud\JiraClient
* @mode int outDir creation mode.
* @recursive boolean Allows the creation of nested directories specified in the pathname.
*
*@return Attachment
*@throws JiraException
*
* @throws \JsonMapper_Exception
*
*@return Attachment
*/
public function get(int|string $id, string $outDir = null, bool $overwrite = false, int $mode = 0777, bool $recursive = true) : Attachment
public function get(int|string $id, string $outDir = null, bool $overwrite = false, int $mode = 0777, bool $recursive = true): Attachment
{
$ret = $this->exec($this->uri.$id, null);

Expand Down Expand Up @@ -63,11 +63,11 @@ public function get(int|string $id, string $outDir = null, bool $overwrite = fal
*
* @param int|string $id attachment id
*
* @return string
*@throws JiraException
*
* @return string
*/
public function remove(int|string $id) : string
public function remove(int|string $id): string
{
$ret = $this->exec($this->uri.$id, null, 'DELETE');

Expand Down

0 comments on commit fbfe7e8

Please sign in to comment.