소스 검색

:shower: make exceptions final

codemasher 4 년 전
부모
커밋
317fbb6f24
4개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 1 1
      src/Data/QRCodeDataException.php
  2. 1 1
      src/Decoder/QRCodeDecoderException.php
  3. 1 1
      src/Detector/QRCodeDetectorException.php
  4. 1 1
      src/Output/QRCodeOutputException.php

+ 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{}