Skip to content

Commit 2442bf6

Browse files
lesstifStyleCIBot
andauthored
Apply fixes from StyleCI (#51)
Co-authored-by: StyleCI Bot <[email protected]>
1 parent b299927 commit 2442bf6

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

src/Attachment/AttachmentService.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,13 @@ class AttachmentService extends \JiraCloud\JiraClient
1616
* Returns the meta-data for an attachment, including the URI of the actual attached file.
1717
*
1818
* @param int|string $id attachment Id
19+
*
1920
* @outDir string downloads the content and store into outDir
21+
*
2022
* @overwrite boolean determines whether to overwrite the file if it already exists.
23+
*
2124
* @mode int outDir creation mode.
25+
*
2226
* @recursive boolean Allows the creation of nested directories specified in the pathname.
2327
*
2428
*@throws JiraException

src/ClassSerialize.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ trait ClassSerialize
1414
*/
1515
public function toArray(array $ignoreProperties = [], bool $excludeMode = true): array
1616
{
17-
$tmp = (get_object_vars($this));
17+
$tmp = get_object_vars($this);
1818
$retAr = null;
1919

2020
foreach ($tmp as $key => $value) {

src/Issue/Reporter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class Reporter implements \JsonSerializable
3838
#[\ReturnTypeWillChange]
3939
public function jsonSerialize()
4040
{
41-
$vars = (get_object_vars($this));
41+
$vars = get_object_vars($this);
4242

4343
foreach ($vars as $key => $value) {
4444
if ($key === 'name' && ($this->isWantUnassigned() === true)) {

0 commit comments

Comments
 (0)