From 5cc4c8555dedb5c7e737a35789bd429ccd9ad254 Mon Sep 17 00:00:00 2001 From: ThomAille Date: Wed, 18 Apr 2018 15:46:16 +0200 Subject: [PATCH] Fix error DependancyInjection Exception for Symfony 2.x (#551) * Fix error DependancyInjection Exception I changed alias to class because Symfony retraces an Injection dependency error : [Symfony\Component\DependencyInjection\Exception\RuntimeException] The definition for "fos\oauthserverbundle\controller\tokencontroller" has no class. If you intend to inject this service dynamically at runtime, please mark it as synthetic=true. If this is an abstr act definition solely used by child definitions, please add abstract=true, otherwise specify a class to get rid of this error. * Update oauth.xml Fix error dependancy injection --- Resources/config/oauth.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/config/oauth.xml b/Resources/config/oauth.xml index 3fcffc7c..9ec29f6d 100644 --- a/Resources/config/oauth.xml +++ b/Resources/config/oauth.xml @@ -23,7 +23,7 @@ %fos_oauth_server.server.options% - +