Skip to content

Commit

Permalink
default values for accessToken and refreshToken
Browse files Browse the repository at this point in the history
  • Loading branch information
Wiatrogon committed Nov 10, 2016
1 parent 7e90e60 commit 93e9140
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Api.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class Api extends Resource

const AUTHORIZATION_URI = 'https://ssl.allegro.pl/auth/oauth/authorize';

public function __construct($clientId, $clientSecret, $apiKey, $redirectUri, $accessToken, $refreshToken)
public function __construct($clientId, $clientSecret, $apiKey, $redirectUri, $accessToken = null, $refreshToken = null)
{
$this->clientId = $clientId;
$this->clientSecret = $clientSecret;
Expand Down

0 comments on commit 93e9140

Please sign in to comment.