:octocat: accept the ContainerInterface instead of QROptions

This commit is contained in:
codemasher
2018-03-13 18:34:39 +01:00
parent aac41883d0
commit 0044e686ff
3 changed files with 16 additions and 12 deletions
+4 -3
View File
@@ -19,6 +19,7 @@ use chillerlan\QRCode\Helpers\{
BitBuffer, Polynomial
};
use chillerlan\Traits\ClassLoader;
use chillerlan\Traits\ContainerInterface;
/**
* Processes the binary data and maps it on a matrix which is then being returned
@@ -88,10 +89,10 @@ abstract class QRDataAbstract implements QRDataInterface{
/**
* QRDataInterface constructor.
*
* @param \chillerlan\QRCode\QROptions $options
* @param string|null $data
* @param \chillerlan\Traits\ContainerInterface $options
* @param string|null $data
*/
public function __construct(QROptions $options, string $data = null){
public function __construct(ContainerInterface $options, string $data = null){
$this->options = $options;
if($data !== null){