Skip to content

Commit 2bb62fe

Browse files
authored
Merge pull request #71 from SimpleSoftwareIO/analysis-qJ06pV
Apply fixes from StyleCI
2 parents 24a5517 + b65635d commit 2bb62fe

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/SimpleSoftwareIO/QrCode/BaconQrCodeGenerator.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
namespace SimpleSoftwareIO\QrCode;
44

55
use BaconQrCode;
6-
use BaconQrCode\Common\ErrorCorrectionLevel;
6+
use BaconQrCode\Writer;
77
use BaconQrCode\Encoder\Encoder;
88
use BaconQrCode\Renderer\Color\Rgb;
99
use BaconQrCode\Renderer\Image\Eps;
1010
use BaconQrCode\Renderer\Image\Png;
11-
use BaconQrCode\Renderer\Image\RendererInterface;
1211
use BaconQrCode\Renderer\Image\Svg;
13-
use BaconQrCode\Writer;
12+
use BaconQrCode\Common\ErrorCorrectionLevel;
13+
use BaconQrCode\Renderer\Image\RendererInterface;
1414

1515
class 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

src/SimpleSoftwareIO/QrCode/DataTypes/Email.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)