Skip to content

Commit

Permalink
Update Nette
Browse files Browse the repository at this point in the history
  • Loading branch information
trejjam committed Jun 25, 2022
1 parent d80efb7 commit c185548
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
26 changes: 13 additions & 13 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,26 +17,26 @@
"php": "^7.3 | ^8.0",

"composer/ca-bundle": "^1.1",
"nette/di": "^3.0",
"nette/di": "^3.0.12",
"guzzlehttp/guzzle": "^7.0",
"trejjam/base-extension": "^0.8",
"trejjam/base-extension": "^0.9",
"tharos/schematic": "^1.2",
"thecodingmachine/safe": "^1.0 || ^2.0"
},
"require-dev": {
"nette/robot-loader": "^3.1",
"nette/bootstrap": "^2.4.6 || ^3.0",
"tracy/tracy": "^2.4 || ^3.0",
"nette/robot-loader": "^3.4",
"nette/bootstrap": "^3.1",
"tracy/tracy": "^2.9 || ^3.0",

"nette/tester": "^2.2",
"nette/tester": "^2.4",

"phpstan/phpstan": "^0.12 | ^1.1",
"phpstan/phpstan-deprecation-rules": "^0.12 | ^1.0",
"phpstan/phpstan-strict-rules": "^0.12 | ^1.0",
"thecodingmachine/phpstan-safe-rule": "^1",
"roave/no-floaters": "^1.4 | ^1.5",
"phpstan/phpstan": "^1.7",
"phpstan/phpstan-deprecation-rules": "^1.0",
"phpstan/phpstan-strict-rules": "^1.3",
"thecodingmachine/phpstan-safe-rule": "^1.2",
"roave/no-floaters": "^1.5",

"symplify/easy-coding-standard": "^9.2 || ^10.0 || ^11.0",
"symplify/easy-coding-standard": "^11.0",

"roave/security-advisories": "dev-master"
},
Expand All @@ -57,7 +57,7 @@
},
"extra": {
"branch-alias": {
"dev-master": "v0.5.x-dev"
"dev-master": "v0.6.x-dev"
}
}
}
12 changes: 6 additions & 6 deletions src/DI/MailChimpExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,14 @@ public function beforeCompile() : void

if ($this->config->http->clientFactory !== null) {
if (is_string($this->config->http->clientFactory) && Strings::startsWith($this->config->http->clientFactory, '@')) {
$types['http.client']->setFactory($this->config->http->clientFactory);
$types['http.client']->setCreator($this->config->http->clientFactory);
}
else {
$this->loadDefinitionsFromConfig(
[
'http.client' => $this->config->http->clientFactory,
]
);
$this->loadDefinitionsFromConfig(
[
'http.client' => $this->config->http->clientFactory,
]
);
}
}

Expand Down

0 comments on commit c185548

Please sign in to comment.