@@ -43,7 +43,9 @@ class Issues extends AbstractPackage
4343 * @since 1.0
4444 * @throws \DomainException
4545 */
46- public function create ($ user , $ repo , $ title , $ body = null , $ assignee = null , $ milestone = null , array $ labels = array (), array $ assignees = array ())
46+ public function create ($ user , $ repo , $ title , $ body = null , $ assignee = null , $ milestone = null , array $ labels = array (),
47+ array $ assignees = array ()
48+ )
4749 {
4850 // Build the request path.
4951 $ path = '/repos/ ' . $ user . '/ ' . $ repo . '/issues ' ;
@@ -101,7 +103,9 @@ public function create($user, $repo, $title, $body = null, $assignee = null, $mi
101103 * @since 1.0
102104 * @throws \DomainException
103105 */
104- public function edit ($ user , $ repo , $ issueId , $ state = null , $ title = null , $ body = null , $ assignee = null , $ milestone = null , array $ labels = null )
106+ public function edit ($ user , $ repo , $ issueId , $ state = null , $ title = null , $ body = null , $ assignee = null , $ milestone = null ,
107+ array $ labels = null
108+ )
105109 {
106110 // Build the request path.
107111 $ path = '/repos/ ' . $ user . '/ ' . $ repo . '/issues/ ' . (int ) $ issueId ;
@@ -197,7 +201,8 @@ public function get($user, $repo, $issueId)
197201 * @throws \DomainException
198202 */
199203 public function getList ($ filter = null , $ state = null , $ labels = null , $ sort = null ,
200- $ direction = null , \DateTime $ since = null , $ page = 0 , $ limit = 0 )
204+ $ direction = null , \DateTime $ since = null , $ page = 0 , $ limit = 0
205+ )
201206 {
202207 // Build the request path.
203208 $ path = '/issues ' ;
@@ -260,7 +265,8 @@ public function getList($filter = null, $state = null, $labels = null, $sort = n
260265 * @throws \DomainException
261266 */
262267 public function getListByRepository ($ user , $ repo , $ milestone = null , $ state = null , $ assignee = null , $ mentioned = null , $ labels = null ,
263- $ sort = null , $ direction = null , \DateTime $ since = null , $ page = 0 , $ limit = 0 )
268+ $ sort = null , $ direction = null , \DateTime $ since = null , $ page = 0 , $ limit = 0
269+ )
264270 {
265271 // Build the request path.
266272 $ path = '/repos/ ' . $ user . '/ ' . $ repo . '/issues ' ;
0 commit comments