🚿 refeactored away some superfluous constants

This commit is contained in:
codemasher
2021-11-27 14:01:14 +01:00
parent 9fde82f9c2
commit 3d563bfcc0
7 changed files with 44 additions and 56 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ final class QRMatrixTest extends TestCase{
* Tests if eccLevel() returns the current (given) ECC level
*/
public function testECC():void{
$this::assertSame(EccLevel::MODES[EccLevel::L], $this->matrix->eccLevel()->getOrdinal());
$this::assertSame(EccLevel::L, $this->matrix->eccLevel()->getLevel());
}
/**