Skip to content

Commit

Permalink
Readme: use native inject
Browse files Browse the repository at this point in the history
Readme uses annotation that is not support by dependencies mentioned in `composer.json`.

I'd suggest using `@inject`, or add `Kdyby\Autowire` to `composer.json` and note about it's installation to Readme.
  • Loading branch information
Tomáš Votruba committed Oct 14, 2015
1 parent ff2492e commit 42eb0a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Ty si můžete pomocí `autowiringu` vstříknout do `Presenteru`.
```php
use Markette\Gopay\Service\PaymentService;

/** @var PaymentService @autowire */
/** @var PaymentService @inject */
public $paymentService;
```

Expand Down

0 comments on commit 42eb0a7

Please sign in to comment.