1
0
Fork 0
mirror of synced 2025-04-11 13:10:57 +00:00

fix site parameter for customersNoteCreate method

This commit is contained in:
Alex Lushpai 2017-06-22 00:42:21 +03:00
parent 9c8725b666
commit 0d4b323e9e

View file

@ -96,6 +96,7 @@ trait Customers
* Create customer note
*
* @param array $note (default: array())
* @param string $site (default: null)
*
* @throws \InvalidArgumentException
* @throws \RetailCrm\Exception\CurlException
@ -103,7 +104,7 @@ trait Customers
*
* @return \RetailCrm\Response\ApiResponse
*/
public function customersNotesCreate($note)
public function customersNotesCreate($note, $site = null)
{
if (empty($note['customer']['id']) && empty($note['customer']['externalId'])) {
throw new \InvalidArgumentException(