Skip to content

Commit 6188a9b

Browse files
Scrutinizer Auto-Fixes (#1)
1 parent 9c04f75 commit 6188a9b

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/Command/ExternalImage.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ private function read($data): string
5151
}
5252

5353
if ($data instanceof \SplFileInfo) {
54-
if (! $data->isReadable()) {
54+
if (!$data->isReadable()) {
5555
throw new \RuntimeException();
5656
}
5757

src/Language/Fingerprint/Concerns/Align.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ trait Align
2424
public function align(Command $command)
2525
{
2626
/** @var Command|Alignable $command */
27-
if ($command->getAnchor() && ! $command->getAnchor()->equals(Anchor::SOUTHWEST())) {
27+
if ($command->getAnchor() && !$command->getAnchor()->equals(Anchor::SOUTHWEST())) {
2828
$anchor = $command->getAnchor()->getValue();
2929

3030
$newAnchor = $anchor + 6;
@@ -40,7 +40,7 @@ public function align(Command $command)
4040
public function resetAlign(Command $command)
4141
{
4242
/** @var Command|Alignable $command */
43-
if ($command->getAnchor() && ! $command->getAnchor()->equals(Anchor::SOUTHWEST())) {
43+
if ($command->getAnchor() && !$command->getAnchor()->equals(Anchor::SOUTHWEST())) {
4444
yield 'AN '.Fingerprint::DEFAULT_ANCHOR;
4545
}
4646
}

src/Language/Fingerprint/Concerns/Rotate.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ trait Rotate
2424
public function rotate(Command $command)
2525
{
2626
/** @var Command|Rotatable $command */
27-
if (! $command->getRotation()->equals(Angle::_0())) {
27+
if (!$command->getRotation()->equals(Angle::_0())) {
2828
yield \sprintf('DIR %d', $command->getRotation()->getValue() + 1);
2929
}
3030
}
3131

3232
public function resetRotate(Command $command)
3333
{
3434
/** @var Command|Rotatable $command */
35-
if (! $command->getRotation()->equals(Angle::_0())) {
35+
if (!$command->getRotation()->equals(Angle::_0())) {
3636
yield 'DIR '.Fingerprint::DEFAULT_DIRECTION;
3737
}
3838
}

0 commit comments

Comments
 (0)