Skip to content

Commit 928177e

Browse files
committed
Allow short array due to php version constraint in composer.json
1 parent 6bf3574 commit 928177e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Github/Api/Repository/Releases.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function tag($username, $repository, $tag)
4848
*
4949
* @return array
5050
*/
51-
public function all($username, $repository, array $params = array())
51+
public function all($username, $repository, array $params = [])
5252
{
5353
return $this->get('repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/releases', $params);
5454
}

0 commit comments

Comments
 (0)