Skip to content

Commit b1edec0

Browse files
authored
Merge pull request #85 from tenkoma/fix-sample-code
docs: fix sample code in Injecting Providers
2 parents e87d542 + 75260f4 commit b1edec0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

manuals/1.0/en/170.InjectingProviders.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ when you don't always need the dependency:
8888
class LogFileTransactionLog implements TransactionLogInterface
8989
{
9090
public function __construct(
91-
(#[Set(Connection::class)] private ProviderInterface $connectionProvider
91+
#[Set(Connection::class)] private ProviderInterface $connectionProvider
9292
) {}
9393

9494
public function logChargeResult(ChargeResult $result) {

manuals/1.0/ja/170.InjectingProviders.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ class LogFileTransactionLog implements TransactionLogInterface
8484
class LogFileTransactionLog implements TransactionLogInterface
8585
{
8686
public function __construct(
87-
(#[Set(Connection::class)] private ProviderInterface $connectionProvider
87+
#[Set(Connection::class)] private ProviderInterface $connectionProvider
8888
) {}
8989

9090
public function logChargeResult(ChargeResult $result) {

0 commit comments

Comments
 (0)