Skip to content

Commit b0ec4ce

Browse files
committed
cs fixer it up
1 parent 8a5f3b7 commit b0ec4ce

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Maker/MakeDockerDatabase.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,10 +152,10 @@ public function generate(InputInterface $input, ConsoleStyle $io, Generator $gen
152152
$closing[] = '';
153153
$closing[] = sprintf(
154154
'Port%s %s will be exposed to %s random port%s on your host machine.',
155-
count($ports) === 1 ? '' : 's',
155+
1 === \count($ports) ? '' : 's',
156156
implode(' ', $ports),
157-
count($ports) === 1 ? 'a' : '',
158-
count($ports) === 1 ? '' : 's'
157+
1 === \count($ports) ? 'a' : '',
158+
1 === \count($ports) ? '' : 's'
159159
);
160160

161161
$io->text($closing);

src/Util/YamlSourceManipulator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1023,7 +1023,7 @@ private function advanceToEndOfLine()
10231023
break;
10241024
}
10251025

1026-
$newPosition++;
1026+
++$newPosition;
10271027
}
10281028

10291029
$this->advanceCurrentPosition($newPosition);

0 commit comments

Comments
 (0)