diff --git a/PHPGangsta/GoogleAuthenticator.php b/PHPGangsta/GoogleAuthenticator.php index bf7d116..6a9e690 100644 --- a/PHPGangsta/GoogleAuthenticator.php +++ b/PHPGangsta/GoogleAuthenticator.php @@ -109,7 +109,7 @@ public function getQRCodeGoogleUrl($name, $secret, $title = null, $params = arra $urlencoded .= urlencode('&issuer='.urlencode($title)); } - return "https://api.qrserver.com/v1/create-qr-code/?data=$urlencoded&size=${width}x${height}&ecc=$level"; + return "https://api.qrserver.com/v1/create-qr-code/?data={$urlencoded}&size={$width}x{$height}&ecc={$level}"; } /** diff --git a/composer.json b/composer.json index 9de7cc1..ea1ca6a 100644 --- a/composer.json +++ b/composer.json @@ -7,16 +7,10 @@ "license": "BSD-4-Clause", "authors": [ { - "name": "Michael Kliewe", - "email": "info@phpgangsta.de", - "homepage": "http://www.phpgangsta.de/", - "role": "Developer" + "name": "Voytek Manowiec", + "homepage": "https://github.com/vmanrc" } ], - "support": { - "source": "https://github.com/PHPGangsta/GoogleAuthenticator", - "issues": "https://github.com/PHPGangsta/GoogleAuthenticator/issues" - }, "require": { "php": ">=5.3" },