Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Notice when call constructor #3

Merged
merged 1 commit into from
Oct 15, 2019
Merged

Conversation

alexndlm
Copy link
Contributor

When call MobizonApi('api_key', 'api_domain'):
Warning: array_intersect_key(): Argument #1 is not an array in /vendor/mobizon/mobizon-php/src/MobizonApi.php on line 144
Warning: Invalid argument supplied for foreach() in /vendor/mobizon/mobizon-php/src/MobizonApi.php on line 145

When call MobizonApi('api_key', 'api_domain'):
Warning: array_intersect_key(): Argument mobizon#1 is not an array in /vendor/mobizon/mobizon-php/src/MobizonApi.php on line 144
Warning: Invalid argument supplied for foreach() in /vendor/mobizon/mobizon-php/src/MobizonApi.php on line 145
@ilnurshax
Copy link

@cubezero Hello Ivan!
Can you please approve this pull requests?
I have the same problems when calling the __construct with the string api_key and the string api_domain.

@cubezero cubezero merged commit a31b29f into mobizon:master Oct 15, 2019
@alexndlm alexndlm deleted the patch-1 branch October 18, 2019 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants