@@ -127,7 +127,7 @@ class QrCodeHelper extends Helper {
* Format a text in a specific format
* - url, sms, tel, email, market, geo
*
- * @param string $text
+ * @param string|array $text
* @param string|null $type
* @return string formattedText
*/
@@ -49,7 +49,7 @@ class QrCodeHelperTest extends TestCase {
public function testImage() {
$is = $this->QrCode->image('Foo Bar');
- $expected = '<img src="http://chart.apis.google.com/chart?chl=Foo%20Bar&cht=qr&choe=UTF-8&chs=74x74&chld=" alt=""/>';
+ $expected = '<img src="http://chart.apis.google.com/chart?chl=Foo%20Bar&cht=qr&choe=UTF-8&chs=74x74&chld=" alt=""/>';
$this->assertSame($expected, $is);
}