Przeglądaj źródła

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

smiley 2 lat temu
rodzic
commit
5282b46474
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/QRCode.php

+ 1 - 1
src/QRCode.php

@@ -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;
 	}