This commit is contained in:
smiley
2023-03-02 23:35:22 +01:00
parent d98b56b55e
commit 1b6d16c95d
3 changed files with 17 additions and 20 deletions
+2 -3
View File
@@ -56,9 +56,6 @@ final class QRData{
/**
* QRData constructor.
*
* @param \chillerlan\Settings\SettingsContainerInterface $options
* @param \chillerlan\QRCode\Data\QRDataModeInterface[]|null $dataSegments
*/
public function __construct(SettingsContainerInterface $options, array $dataSegments = []){
$this->options = $options;
@@ -73,6 +70,8 @@ final class QRData{
* Sets the data string (internally called by the constructor)
*
* Subsequent calls will overwrite the current state - use the QRCode::add*Segement() method instead
*
* @param \chillerlan\QRCode\Data\QRDataModeInterface[] $dataSegments
*/
public function setData(array $dataSegments):self{
$this->dataSegments = $dataSegments;