Skip to content

Commit

Permalink
Merge pull request #23 from J0sh0nat0r/patch-2
Browse files Browse the repository at this point in the history
Type hint createLoginUrl return param
  • Loading branch information
kanalumaddela committed Oct 7, 2018
2 parents e8b80f2 + 55b8790 commit ef15c49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SteamLogin.php
Expand Up @@ -150,11 +150,11 @@ public function setReturnUrl(string $return)
/**
* Build the steam openid login URL.
*
* @param null $return
* @param string|null $return
*
* @return string
*/
public function createLoginUrl($return = null): string
public function createLoginUrl(?string $return = null): string
{
$params = [
'openid.ns' => self::OPENID_SPECS,
Expand Down

0 comments on commit ef15c49

Please sign in to comment.