Skip to content

Commit b2255fe

Browse files
committed
🚿
1 parent 266ffce commit b2255fe

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ For the QRCode reader, either `ext-gd` or `ext-imagick` is required!
7474

7575
## Installation with [composer](https://getcomposer.org)
7676

77-
See [the installation guide](https://php-qrcode.readthedocs.io/en/v5.0.x/Usage-Installation.html) for more info!
77+
See [the installation guide](https://php-qrcode.readthedocs.io/en/v5.0.x/Usage/Installation.html) for more info!
7878

7979

8080
### Terminal

src/Output/QROutputAbstract.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,18 +146,18 @@ protected function setModuleValues():void{
146146
}
147147

148148
/**
149-
* Prepares the value for the given input ()
149+
* Prepares the value for the given input (return value depends on the output class)
150150
*
151151
* @param mixed $value
152152
*
153-
* @return mixed|null return value depends on the output class
153+
* @return mixed|null
154154
*/
155155
abstract protected function prepareModuleValue($value);
156156

157157
/**
158-
* Returns a default value for either dark or light modules
158+
* Returns a default value for either dark or light modules (return value depends on the output class)
159159
*
160-
* @return mixed|null return value depends on the output class
160+
* @return mixed|null
161161
*/
162162
abstract protected function getDefaultModuleValue(bool $isDark);
163163

src/QRCode.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,11 @@ public function setOptions(SettingsContainerInterface $options):self{
202202
/**
203203
* Renders a QR Code for the given $data and QROptions, saves $file optionally
204204
*
205+
* Note: it is possible to add several data segments before calling this method with a valid $data string
206+
* which will result in a mixed-mode QR Code with the given parameter as last element.
207+
*
208+
* @see https://github.com/chillerlan/php-qrcode/issues/246
209+
*
205210
* @return mixed
206211
*/
207212
public function render(string $data = null, string $file = null){

0 commit comments

Comments
 (0)