:octocat: no reason to leave QRCode::addSegment() protected

This commit is contained in:
smiley
2023-01-31 02:20:19 +01:00
parent 99e84efaa3
commit 5282b46474
+1 -1
View File
@@ -346,7 +346,7 @@ class QRCode{
* ISO/IEC 18004:2000 8.3.6 - Mixing modes
* ISO/IEC 18004:2000 Annex H - Optimisation of bit stream length
*/
protected function addSegment(QRDataModeInterface $segment):void{
public function addSegment(QRDataModeInterface $segment):void{
$this->dataSegments[] = $segment;
}