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 0681fb7

Browse filesBrowse files
committed
fix return types after merge
1 parent 3cb947d commit 0681fb7
Copy full SHA for 0681fb7

File tree

Expand file treeCollapse file tree

2 files changed

+3
-14
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+3
-14
lines changed

‎src/Symfony/Bundle/SecurityBundle/Debug/Authenticator/TraceableAuthenticator.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/SecurityBundle/Debug/Authenticator/TraceableAuthenticator.php
-5Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,6 @@ public function createToken(Passport $passport, string $firewallName): TokenInte
6868
return method_exists($this->authenticator, 'createToken') ? $this->authenticator->createToken($passport, $firewallName) : $this->authenticator->createAuthenticatedToken($passport, $firewallName);
6969
}
7070

71-
public function createAuthenticatedToken(PassportInterface $passport, string $firewallName): TokenInterface
72-
{
73-
return $this->authenticator->createAuthenticatedToken($passport, $firewallName);
74-
}
75-
7671
public function onAuthenticationSuccess(Request $request, TokenInterface $token, string $firewallName): ?Response
7772
{
7873
return $this->authenticator->onAuthenticationSuccess($request, $token, $firewallName);

‎src/Symfony/Component/HttpKernel/DataCollector/EventDataCollector.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpKernel/DataCollector/EventDataCollector.php
+3-9Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,8 @@ public function setCalledListeners(array $listeners)
8181

8282
/**
8383
* @see TraceableEventDispatcher
84-
*
85-
* @return array|Data
8684
*/
87-
public function getCalledListeners()
85+
public function getCalledListeners(): array|Data
8886
{
8987
return $this->data['called_listeners'];
9088
}
@@ -99,10 +97,8 @@ public function setNotCalledListeners(array $listeners)
9997

10098
/**
10199
* @see TraceableEventDispatcher
102-
*
103-
* @return array|Data
104100
*/
105-
public function getNotCalledListeners()
101+
public function getNotCalledListeners(): array|Data
106102
{
107103
return $this->data['not_called_listeners'];
108104
}
@@ -119,10 +115,8 @@ public function setOrphanedEvents(array $events)
119115

120116
/**
121117
* @see TraceableEventDispatcher
122-
*
123-
* @return array|Data
124118
*/
125-
public function getOrphanedEvents()
119+
public function getOrphanedEvents(): array|Data
126120
{
127121
return $this->data['orphaned_events'];
128122
}

0 commit comments

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