Skip to content

Commit

Permalink
Null parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Beakerboy committed Jul 27, 2019
1 parent 8e183ea commit 51e0183
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Services/RequestGenerator.php
Expand Up @@ -37,7 +37,7 @@ class RequestGenerator extends CashIDService
* @return mixed
* returns the request URI or false if error
*/
public function createRequest(string $action = "", string $data = "", array $metadata = [])
public function createRequest(?string $action = "", ?string $data = "", ?array $metadata = [])
{
try {
$user_generated = false;
Expand Down

0 comments on commit 51e0183

Please sign in to comment.