File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
src/SimpleSoftwareIO/QrCode Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 33namespace SimpleSoftwareIO \QrCode ;
44
55use BaconQrCode ;
6- use BaconQrCode \Common \ ErrorCorrectionLevel ;
6+ use BaconQrCode \Writer ;
77use BaconQrCode \Encoder \Encoder ;
88use BaconQrCode \Renderer \Color \Rgb ;
99use BaconQrCode \Renderer \Image \Eps ;
1010use BaconQrCode \Renderer \Image \Png ;
11- use BaconQrCode \Renderer \Image \RendererInterface ;
1211use BaconQrCode \Renderer \Image \Svg ;
13- use BaconQrCode \Writer ;
12+ use BaconQrCode \Common \ErrorCorrectionLevel ;
13+ use BaconQrCode \Renderer \Image \RendererInterface ;
1414
1515class BaconQrCodeGenerator implements QrCodeInterface
1616{
@@ -96,7 +96,7 @@ public function generate($text, $filename = null)
9696 */
9797 public function merge ($ filepath , $ percentage = .2 , $ absolute = false )
9898 {
99- if (function_exists ('base_path ' ) && !$ absolute ) {
99+ if (function_exists ('base_path ' ) && ! $ absolute ) {
100100 $ filepath = base_path ().$ filepath ;
101101 }
102102
@@ -265,7 +265,7 @@ private function createClass($method)
265265 {
266266 $ class = $ this ->formatClass ($ method );
267267
268- if (!class_exists ($ class )) {
268+ if (! class_exists ($ class )) {
269269 throw new \BadMethodCallException ();
270270 }
271271
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ protected function setEmail($email)
113113 */
114114 protected function isValidEmail ($ email )
115115 {
116- if (!filter_var ($ email , FILTER_VALIDATE_EMAIL )) {
116+ if (! filter_var ($ email , FILTER_VALIDATE_EMAIL )) {
117117 throw new InvalidArgumentException ('Invalid email provided ' );
118118 }
119119
You can’t perform that action at this time.
0 commit comments