Skip to content

Commit

Permalink
Merge pull request #2 from amocrm/dev
Browse files Browse the repository at this point in the history
collaborators for provider
  • Loading branch information
bessudnov authored Mar 24, 2020
2 parents d81e559 + a0dadf3 commit fb1e278
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/AmoCRM.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,17 @@ class AmoCRM extends AbstractProvider
* @var array
*/
public $headers = [
'User-Agent' => 'amoCRM/oAuth Client 1.0'
'User-Agent' => 'amoCRM/oAuth Client 1.0',
];

/**
* AmoCRM constructor.
* @param array $options
* @param array $collaborators
*/
public function __construct($options = [])
public function __construct($options = [], $collaborators = [])
{
parent::__construct($options);
parent::__construct($options, $collaborators);

if (isset($options['baseDomain'])) {
$this->baseDomain = $options['baseDomain'];
Expand Down

0 comments on commit fb1e278

Please sign in to comment.