Skip to content

Commit

Permalink
support php 5.x
Browse files Browse the repository at this point in the history
  • Loading branch information
pterk committed Dec 12, 2018
1 parent f60d540 commit a49750a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/GetStream/Stream/Users.php
Expand Up @@ -69,7 +69,7 @@ private function doRequest($method, $endpoint, $params=null)
*
* @return array
*/
public function add(string $userId, array $data=null, bool $getOrCreate=false)
public function add(string $userId, array $data=null, bool $getOrCreate=null)
{
$endpoint = 'user/';
$payload = [
Expand Down

0 comments on commit a49750a

Please sign in to comment.