Remove a BC break introduced by #2243
Remove a BC break introduced by #2243

api-platform/core,soyuka/core,teohhanhui/DunglasApiBundle,soyuka/core,jdeniau/DunglasApiBundle,teohhanhui/api-platform-core,jdeniau/DunglasApiBundle,vincentchalamon/core,vincentchalamon/core,vincentchalamon/core,teohhanhui/api-platform-core,soyuka/core,api-platform/core,teohhanhui/api-platform-core,teohhanhui/api-platform-core,meyerbaptiste/core,meyerbaptiste/core,vincentchalamon/core,meyerbaptiste/core,api-platform/core,jdeniau/DunglasApiBundle,soyuka/core,soyuka/DunglasApiBundle,meyerbaptiste/core,jdeniau/DunglasApiBundle,api-platform/core