Skip to content

Commit 280d0e8

Browse files
committed
typo
1 parent 6d2b09a commit 280d0e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service_container.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ available in the container. You can use it immediately inside your controller::
173173
// the container will instantiate a new MessageGenerator()
174174
$messageGenerator = $this->container->get('app.message_generator');
175175

176-
// or use this shorter synax
176+
// or use this shorter syntax
177177
// $messageGenerator = $this->get('app.message_generator');
178178

179179
$message = $messageGenerator->getHappyMessage();

0 commit comments

Comments
 (0)