Skip to content

Commit

Permalink
Merge pull request #500 from sagikazarmark/patch-1
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
mnapoli committed Jun 5, 2017
2 parents ecab701 + 3eea929 commit ec4c132
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/definition-overriding.md
Expand Up @@ -79,7 +79,7 @@ return [

In this example we extend the autowiring definition to set `$param2` because it can't be guessed through autowiring (no type-hint). `$param1` is not affected and is autowired.

Please not that `DI\autowire()`, like `DI\create()`, does not allow extending definitions. It only allows to customize how autowiring is done. In the example below the second definition will completely override the first one:
Please note that `DI\autowire()`, like `DI\create()`, does not allow extending definitions. It only allows to customize how autowiring is done. In the example below the second definition will completely override the first one:

```php
return [
Expand Down

0 comments on commit ec4c132

Please sign in to comment.