Explorar o código

:shower: make exceptions final

codemasher %!s(int64=4) %!d(string=hai) anos
pai
achega
317fbb6f24

+ 1 - 1
src/Data/QRCodeDataException.php

@@ -12,4 +12,4 @@ namespace chillerlan\QRCode\Data;
 
 use chillerlan\QRCode\QRCodeException;
 
-class QRCodeDataException extends QRCodeException{}
+final class QRCodeDataException extends QRCodeException{}

+ 1 - 1
src/Decoder/QRCodeDecoderException.php

@@ -12,4 +12,4 @@ namespace chillerlan\QRCode\Decoder;
 
 use chillerlan\QRCode\QRCodeException;
 
-class QRCodeDecoderException extends QRCodeException{}
+final class QRCodeDecoderException extends QRCodeException{}

+ 1 - 1
src/Detector/QRCodeDetectorException.php

@@ -12,4 +12,4 @@ namespace chillerlan\QRCode\Detector;
 
 use chillerlan\QRCode\QRCodeException;
 
-class QRCodeDetectorException extends QRCodeException{}
+final class QRCodeDetectorException extends QRCodeException{}

+ 1 - 1
src/Output/QRCodeOutputException.php

@@ -12,4 +12,4 @@ namespace chillerlan\QRCode\Output;
 
 use chillerlan\QRCode\QRCodeException;
 
-class QRCodeOutputException extends QRCodeException{}
+final class QRCodeOutputException extends QRCodeException{}