Przeglądaj źródła

:shower: make exceptions final

codemasher 4 lat temu
rodzic
commit
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{}