Skip to content

Commit 77cfe1c

Browse files
committed
fix typo
1 parent 5d0ef73 commit 77cfe1c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Util/ComposeFileManipulator.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,7 @@ public function removeDockerService(string $name): void
8080

8181
public function exposePorts(string $service, array $ports): void
8282
{
83-
$portData = [];
84-
85-
$portData[] = sprintf('%s, To allow the host machine to access the ports below, modify the lines below.', YamlSourceManipulator::COMMENT_PLACEHOLDER_VALUE);
83+
$portData[] = sprintf('%s To allow the host machine to access the ports below, modify the lines below.', YamlSourceManipulator::COMMENT_PLACEHOLDER_VALUE);
8684
$portData[] = sprintf('%s For example, to allow the host to connect to port 3306 on the container, you would change', YamlSourceManipulator::COMMENT_PLACEHOLDER_VALUE);
8785
$portData[] = sprintf('%s "3306" to "3306:3306". Where the first port is exposed to the host and the second is the container port.', YamlSourceManipulator::COMMENT_PLACEHOLDER_VALUE);
8886
$portData[] = sprintf('%s See https://docs.docker.com/compose/compose-file/#ports for more information.', YamlSourceManipulator::COMMENT_PLACEHOLDER_VALUE);

0 commit comments

Comments
 (0)