@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | public function __construct(Authentication $authentication, callable $matcher = null) |
31 | 31 | { |
32 | 32 | if (is_null($matcher)) { |
33 | - $matcher = function () { |
|
33 | + $matcher = function() { |
|
34 | 34 | return true; |
35 | 35 | }; |
36 | 36 | } |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | */ |
61 | 61 | public static function createUrlMatcher(Authentication $authentication, $url) |
62 | 62 | { |
63 | - $matcher = function (RequestInterface $request) use ($url) { |
|
63 | + $matcher = function(RequestInterface $request) use ($url) { |
|
64 | 64 | return preg_match($url, $request->getRequestTarget()); |
65 | 65 | }; |
66 | 66 |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | */ |
67 | 67 | public function getCookies() |
68 | 68 | { |
69 | - $match = function ($matchCookie) { |
|
69 | + $match = function($matchCookie) { |
|
70 | 70 | return true; |
71 | 71 | }; |
72 | 72 | |
@@ -80,7 +80,7 @@ discard block |
||
80 | 80 | */ |
81 | 81 | public function getMatchingCookies(Cookie $cookie) |
82 | 82 | { |
83 | - $match = function ($matchCookie) use ($cookie) { |
|
83 | + $match = function($matchCookie) use ($cookie) { |
|
84 | 84 | return $matchCookie->match($cookie); |
85 | 85 | }; |
86 | 86 | |
@@ -161,7 +161,7 @@ discard block |
||
161 | 161 | */ |
162 | 162 | public function removeMatchingCookies($name = null, $domain = null, $path = null) |
163 | 163 | { |
164 | - $match = function ($cookie) use ($name, $domain, $path) { |
|
164 | + $match = function($cookie) use ($name, $domain, $path) { |
|
165 | 165 | $match = true; |
166 | 166 | |
167 | 167 | if (isset($name)) { |