Skip to content

Commit e2f01d2

Browse files
committed
:octocat: +backslashes for built-in functions
1 parent bacf006 commit e2f01d2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Psr15/PriorityQueueRequestHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function add(MiddlewareInterface $middleware):QueueRequestHandler{
6262
* @return void
6363
*/
6464
protected function sortMiddleware():void{
65-
usort($this->middlewareStack, function(PriorityMiddlewareInterface $a, PriorityMiddlewareInterface $b){
65+
\usort($this->middlewareStack, function(PriorityMiddlewareInterface $a, PriorityMiddlewareInterface $b){
6666
return $a->getPriority() > $b->getPriority();
6767
});
6868
}

src/Psr15/QueueRunner.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function handle(ServerRequestInterface $request):ResponseInterface{
4949
return $this->fallbackHandler->handle($request);
5050
}
5151

52-
$middleware = array_shift($this->middlewareStack);
52+
$middleware = \array_shift($this->middlewareStack);
5353

5454
return $middleware->process($request, $this);
5555
}

0 commit comments

Comments
 (0)