Skip to content

Commit b598f7e

Browse files
lesstifStyleCIBot
andauthored
Apply fixes from StyleCI (#65)
Co-authored-by: StyleCI Bot <[email protected]>
1 parent 8866d9a commit b598f7e

File tree

5 files changed

+20
-20
lines changed

5 files changed

+20
-20
lines changed

src/Attachment/AttachmentService.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ class AttachmentService extends \JiraCloud\JiraClient
2525
*
2626
* @recursive boolean Allows the creation of nested directories specified in the pathname.
2727
*
28-
*@throws JiraException
28+
* @throws JiraException
2929
* @throws \JsonMapper_Exception
3030
*
31-
*@return Attachment
31+
* @return Attachment
3232
*/
3333
public function get(int|string $id, string $outDir = null, bool $overwrite = false, int $mode = 0777, bool $recursive = true): Attachment
3434
{
@@ -67,7 +67,7 @@ public function get(int|string $id, string $outDir = null, bool $overwrite = fal
6767
*
6868
* @param int|string $id attachment id
6969
*
70-
*@throws JiraException
70+
* @throws JiraException
7171
*
7272
* @return string
7373
*/

src/Issue/IssueService.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function getIssueFromJSON($json): Issue
3434
* @param array $paramArray Query Parameter key-value Array.
3535
* @param Issue|null $issueObject
3636
*
37-
*@throws \JsonMapper_Exception
37+
* @throws \JsonMapper_Exception
3838
* @throws JiraException
3939
*
4040
* @return Issue class
@@ -85,7 +85,7 @@ public function create(IssueField $issueField): Issue
8585
* @param IssueField[] $issueFields Array of IssueField objects
8686
* @param int $batchSize Maximum number of issues to send in each request
8787
*
88-
*@throws \JsonMapper_Exception
88+
* @throws \JsonMapper_Exception
8989
* @throws JiraException
9090
*
9191
* @return Issue[] Array of results, where each result represents one batch of insertions
@@ -141,7 +141,7 @@ private function bulkInsert(array $issues): array
141141
* @param int|string $issueIdOrKey Issue id or key
142142
* @param array|string $filePathArray attachment file path.
143143
*
144-
*@throws \JsonMapper_Exception
144+
* @throws \JsonMapper_Exception
145145
* @throws JiraException
146146
*
147147
* @return Attachment[]

src/Issue/JqlQuery.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ public function addAnyExpression(string $expression): self
537537
*
538538
* @return JqlQuery
539539
*/
540-
public function addExpression(string $field, string $operator, string $value, string $logicLinkKeyword = self::KEYWORD_AND) : self
540+
public function addExpression(string $field, string $operator, string $value, string $logicLinkKeyword = self::KEYWORD_AND): self
541541
{
542542
$this->joinExpression(
543543
self::quoteField($field)." $operator ".self::quote($value),
@@ -556,12 +556,12 @@ public function addExpression(string $field, string $operator, string $value, st
556556
* @param string[] $values field values array
557557
* @param string $logicLinkKeyword use {@see JqlQuery::KEYWORD_AND} or {@see JqlQuery::KEYWORD_OR}
558558
* to set join logical operation. Default {@see JqlQuery::KEYWORD_AND}.
559-
* @param bool $needQuote if set to false, don't add quote to values param
559+
* @param bool $needQuote if set to false, don't add quote to values param
560+
* @param bool $notIn
560561
*
561-
* @param bool $notIn
562562
* @return JqlQuery
563563
*/
564-
private function _addExpression(string $field, array $values, string $logicLinkKeyword = self::KEYWORD_AND, bool $needQuote = true, bool $notIn=true): self
564+
private function _addExpression(string $field, array $values, string $logicLinkKeyword = self::KEYWORD_AND, bool $needQuote = true, bool $notIn = true): self
565565
{
566566
$valuesQuoted = [];
567567
foreach ($values as $value) {
@@ -590,7 +590,7 @@ private function _addExpression(string $field, array $values, string $logicLinkK
590590
* @param string[] $values field values array
591591
* @param string $logicLinkKeyword use {@see JqlQuery::KEYWORD_AND} or {@see JqlQuery::KEYWORD_OR}
592592
* to set join logical operation. Default {@see JqlQuery::KEYWORD_AND}.
593-
* @param bool $needQuote if set to false, don't add quote to values param
593+
* @param bool $needQuote if set to false, don't add quote to values param
594594
*
595595
* @return JqlQuery
596596
*/
@@ -604,11 +604,11 @@ public function addInExpression(string $field, array $values, string $logicLinkK
604604
*
605605
* Example: $query->addNotInExpression({@see JqlQuery::FIELD_ASSIGNEE}, ['user1', 'user2'])
606606
*
607-
* @param string $field field name
607+
* @param string $field field name
608608
* @param string[] $values field values array
609-
* @param string $logicLinkKeyword use {@see JqlQuery::KEYWORD_AND} or {@see JqlQuery::KEYWORD_OR}
609+
* @param string $logicLinkKeyword use {@see JqlQuery::KEYWORD_AND} or {@see JqlQuery::KEYWORD_OR}
610610
* to set join logical operation. Default {@see JqlQuery::KEYWORD_AND}.
611-
* @param bool $needQuote if set to false, don't add quote to values param
611+
* @param bool $needQuote if set to false, don't add quote to values param
612612
*
613613
* @return JqlQuery
614614
*/

src/Priority/PriorityService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function getAll()
4040
*
4141
* @param string|int $priorityId priority id
4242
*
43-
*@throws \JsonMapper_Exception
43+
* @throws \JsonMapper_Exception
4444
* @throws \JiraCloud\JiraException
4545
*
4646
* @return \JiraCloud\Issue\Priority

src/User/UserService.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class UserService extends \JiraCloud\JiraClient
1818
*
1919
* @param array|User $user
2020
*
21-
*@throws \JsonMapper_Exception
21+
* @throws \JsonMapper_Exception
2222
* @throws \JiraCloud\JiraException
2323
*
2424
* @return User User class
@@ -43,7 +43,7 @@ public function create(User|array $user): User
4343
* @param array $paramArray Possible values for $paramArray 'accountId', 'key'.
4444
* "Either the 'username' or the 'key' query parameters need to be provided".
4545
*
46-
*@throws \JsonMapper_Exception
46+
* @throws \JsonMapper_Exception
4747
* @throws \JiraCloud\JiraException
4848
*
4949
* @return User User class
@@ -67,7 +67,7 @@ public function get(array $paramArray): User
6767
*
6868
* @param array $paramArray
6969
*
70-
*@throws \JsonMapper_Exception
70+
* @throws \JsonMapper_Exception
7171
* @throws \JiraCloud\JiraException
7272
*
7373
* @return User[]
@@ -200,7 +200,7 @@ public function getMyself()
200200
/**
201201
* @param array $paramArray
202202
*
203-
*@throws \JsonMapper_Exception
203+
* @throws \JsonMapper_Exception
204204
* @throws \JiraCloud\JiraException
205205
*
206206
* @return User[]
@@ -229,7 +229,7 @@ public function getUsers(array $paramArray): array
229229
* @param array $paramArray
230230
* @param array|User $user
231231
*
232-
*@throws \JsonMapper_Exception
232+
* @throws \JsonMapper_Exception
233233
* @throws \JiraCloud\JiraException
234234
*
235235
* @return User User class

0 commit comments

Comments
 (0)