We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b96163d + 48691ba commit 04fdd58Copy full SHA for 04fdd58
lib/QrReader.php
@@ -91,7 +91,7 @@ public function text()
91
{
92
$this->decode();
93
94
- if (method_exists($this->result, 'toString')) {
+ if ($this->result !== false && method_exists($this->result, 'toString')) {
95
return $this->result->toString();
96
}
97
0 commit comments