@@ -75,7 +75,7 @@ |
||
75 | 75 | ->scalarNode('password')->defaultValue(uniqid('', true))->end() |
76 | 76 | ->arrayNode('roles') |
77 | 77 | ->beforeNormalization()->ifString()->then( |
78 | - function ($v) { |
|
78 | + function($v) { |
|
79 | 79 | return preg_split('/\s*,\s*/', $v); |
80 | 80 | } |
81 | 81 | ) |
@@ -41,7 +41,7 @@ |
||
41 | 41 | $request = new Request(); |
42 | 42 | $headerBag = new HeaderBag(); |
43 | 43 | $headerBag->add(['keyName' => 'abcd']); |
44 | - $request->headers =$headerBag; |
|
44 | + $request->headers = $headerBag; |
|
45 | 45 | |
46 | 46 | $simplePreAuthenticator = new SimplePreAuthenticator('keyName', 'header'); |
47 | 47 | $simplePreAuthenticator->createToken($request, $this->anything()); |