Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 149f9c0

Browse filesBrowse files
committed
Merge branch '5.4' into 6.2
* 5.4: Minor fix Update tags.rst
2 parents c9a30cb + 174db69 commit 149f9c0
Copy full SHA for 149f9c0

File tree

Expand file treeCollapse file tree

1 file changed

+1
-5
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-5
lines changed
Open diff view settings
Collapse file

‎service_container/tags.rst‎

Copy file name to clipboardExpand all lines: service_container/tags.rst
+1-5Lines changed: 1 addition & 5 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -401,11 +401,7 @@ To begin with, change the ``TransportChain`` class::
401401

402402
public function getTransport($alias): ?\MailerTransport
403403
{
404-
if (array_key_exists($alias, $this->transports)) {
405-
return $this->transports[$alias];
406-
}
407-
408-
return null;
404+
return $this->transports[$alias] ?? null;
409405
}
410406
}
411407

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.