diff --git a/README.md b/README.md index d2b69dbb4..9aaaaea3c 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ For the QRCode reader, either `ext-gd` or `ext-imagick` is required! ## Installation with [composer](https://getcomposer.org) -See [the installation guide](https://php-qrcode.readthedocs.io/en/v5.0.x/Usage-Installation.html) for more info! +See [the installation guide](https://php-qrcode.readthedocs.io/en/v5.0.x/Usage/Installation.html) for more info! ### Terminal diff --git a/src/Output/QROutputAbstract.php b/src/Output/QROutputAbstract.php index fe6e08611..7ac64fffa 100644 --- a/src/Output/QROutputAbstract.php +++ b/src/Output/QROutputAbstract.php @@ -146,18 +146,18 @@ abstract class QROutputAbstract implements QROutputInterface{ } /** - * Prepares the value for the given input () + * Prepares the value for the given input (return value depends on the output class) * * @param mixed $value * - * @return mixed|null return value depends on the output class + * @return mixed|null */ abstract protected function prepareModuleValue($value); /** - * Returns a default value for either dark or light modules + * Returns a default value for either dark or light modules (return value depends on the output class) * - * @return mixed|null return value depends on the output class + * @return mixed|null */ abstract protected function getDefaultModuleValue(bool $isDark); diff --git a/src/QRCode.php b/src/QRCode.php index 8caa1d739..bca6ac584 100755 --- a/src/QRCode.php +++ b/src/QRCode.php @@ -202,6 +202,11 @@ class QRCode{ /** * Renders a QR Code for the given $data and QROptions, saves $file optionally * + * Note: it is possible to add several data segments before calling this method with a valid $data string + * which will result in a mixed-mode QR Code with the given parameter as last element. + * + * @see https://github.com/chillerlan/php-qrcode/issues/246 + * * @return mixed */ public function render(string $data = null, string $file = null){