编译错误:Symfony \ Component \ DependencyInjection \ ContainerBuilder的声明

时间:2018-12-18 10:46:10

标签: php symfony symfony-3.4

最近将我的项目从Symfony 2.6更新到Symfony 3.4。我在运行应用程序时收到以下错误:

  

(1/1)FatalErrorException   编译错误:的声明   Symfony \ Component \ DependencyInjection \ ContainerBuilder :: set($ id,   $ service)必须与   Symfony \ Component \ DependencyInjection \ ContainerInterface :: set($ id,> $ service,$ scope = self :: SCOPE_CONTAINER)

     

在ContainerBuilder.php第51行

请帮助我解决问题?

0 个答案:

没有答案