Skip to content

Commit a3416c6

Browse files
author
Wilhem Arthur
committed
modified abstract api get method to use shorthand array syntax
1 parent 1d21026 commit a3416c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Github/Api/AbstractApi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function setPerPage($perPage)
6565
*
6666
* @return array|string
6767
*/
68-
protected function get($path, array $parameters = array(), array $requestHeaders = array())
68+
protected function get($path, array $parameters = [], array $requestHeaders = [])
6969
{
7070
if (null !== $this->perPage && !isset($parameters['per_page'])) {
7171
$parameters['per_page'] = $this->perPage;

0 commit comments

Comments
 (0)