Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
butschster committed Mar 22, 2024
1 parent 2a9d04b commit 5796ee4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Config/TemporalConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,9 @@ public function getConnection(string $name): Connection
// If you read this, please remove address from your configuration and use connections instead.
$address = $this->config['address'] ?? null;
if ($address !== null) {
\trigger_deprecation(
'spiral/temporal-bridge',
'3.1.0',
\trigger_error(
'Using `address` is deprecated, use `connections` instead.',
\E_USER_DEPRECATED,
);
return new Connection(address: $address);
}
Expand Down

0 comments on commit 5796ee4

Please sign in to comment.