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 f9b5c89

Browse filesBrowse files
committed
#27121 update docblock and cs fixes
1 parent 23b354e commit f9b5c89
Copy full SHA for f9b5c89

File tree

2 files changed

+6
-6
lines changed
Filter options

2 files changed

+6
-6
lines changed

‎src/Symfony/Component/Security/Http/Firewall/AccessListener.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Security/Http/Firewall/AccessListener.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ class AccessListener implements ListenerInterface
3030
private $tokenStorage;
3131

3232
/**
33-
* @deprecated since Symfony 4.2
33+
* @deprecated since Symfony 4.3
3434
*/
3535
private $accessDecisionManager;
3636
private $map;
3737

3838
/**
39-
* @deprecated since Symfony 4.2
39+
* @deprecated since Symfony 4.3
4040
*/
4141
private $authManager;
4242
private $authorizationChecker;

‎src/Symfony/Component/Security/Http/Tests/Firewall/AccessListenerTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Security/Http/Tests/Firewall/AccessListenerTest.php
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public function testHandleWhenTheAccessDecisionManagerDecidesToRefuseAccess()
109109
$request = $this->getMockBuilder('Symfony\Component\HttpFoundation\Request')->disableOriginalConstructor()->disableOriginalClone()->getMock();
110110
$token = $this->getMockBuilder('Symfony\Component\Security\Core\Authentication\Token\TokenInterface')->getMock();
111111
$event = $this->getMockBuilder('Symfony\Component\HttpKernel\Event\GetResponseEvent')->disableOriginalConstructor()->getMock();
112-
$attributes = array('foo' => 'bar');
112+
$attributes = ['foo' => 'bar'];
113113

114114
$tokenStorage
115115
->expects($this->any())
@@ -121,7 +121,7 @@ public function testHandleWhenTheAccessDecisionManagerDecidesToRefuseAccess()
121121
->expects($this->any())
122122
->method('getPatterns')
123123
->with($this->equalTo($request))
124-
->will($this->returnValue(array($attributes, null)))
124+
->will($this->returnValue([$attributes, null]))
125125
;
126126

127127
$authorizationChecker
@@ -290,7 +290,7 @@ public function testHandleWhenThereIsNoAccessMapEntryMatchingTheRequest()
290290
->expects($this->any())
291291
->method('getPatterns')
292292
->with($this->equalTo($request))
293-
->will($this->returnValue(array(null, null)))
293+
->will($this->returnValue([null, null]))
294294
;
295295

296296
$authorizationChecker
@@ -325,7 +325,7 @@ public function testOldHandleWhenTheSecurityTokenStorageHasNoToken()
325325
->expects($this->any())
326326
->method('getPatterns')
327327
->with($this->equalTo($request))
328-
->will($this->returnValue(array(array('foo' => 'bar'), null)))
328+
->will($this->returnValue([['foo' => 'bar'], null]))
329329
;
330330

331331
$listener = new AccessListener(

0 commit comments

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