File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -126,25 +126,21 @@ protected function setAuthToken(string $token): void
126126 $ tokenService = static ::$ container ->get (Token::class);
127127 $ refClass = new ReflectionClass (Token::class);
128128 $ prop = $ refClass ->getProperty ('token ' );
129- $ prop ->setAccessible (true );
130129 $ prop ->setValue ($ tokenService , $ authToken );
131130
132131 $ authentication = static ::$ container ->get (Authentication::class);
133132 $ refClass = new ReflectionClass (Authentication::class);
134133 $ prop = $ refClass ->getProperty ('tokenService ' );
135- $ prop ->setAccessible (true );
136134 $ prop ->setValue ($ authentication , $ tokenService );
137135
138136 $ authorization = static ::$ container ->get (Authorization::class);
139137 $ refClass = new ReflectionClass (Authorization::class);
140138 $ prop = $ refClass ->getProperty ('tokenService ' );
141- $ prop ->setAccessible (true );
142139 $ prop ->setValue ($ authorization , $ tokenService );
143140
144141 $ schema = static ::$ container ->get (SchemaFactory::class);
145142 $ refClass = new ReflectionClass (SchemaFactory::class);
146143 $ prop = $ refClass ->getProperty ('schema ' );
147- $ prop ->setAccessible (true );
148144 $ prop ->setValue ($ schema , null );
149145 }
150146
You can’t perform that action at this time.
0 commit comments