minor #17431 [Serializer] Remove useless is_object condition (paradajozsef)
minor #17431 [Serializer] Remove useless is_object condition (paradajozsef)

This PR was merged into the 2.7 branch.

Discussion
----------

[Serializer] Remove useless is_object condition

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

[This condition](https://github.com/symfony/symfony/blob/2.7/src/Symfony/Component/Serializer/Serializer.php#L185) is useless, because ```$class``` is not used in ```getNormalizer()```.

Commits
-------

f6fd5e4 Remove useless is_object condition

derrabus/symfony,zerkms/symfony,fabpot/symfony,dosten/symfony,jakubsacha/symfony,Soullivaneuh/symfony,josephdpurcell/symfony,gonzalovilaseca/symfony,teohhanhui/symfony,curry684/symfony,klandaika/symfony,voronkovich/symfony,neemzy/symfony,mweimerskirch/symfony,andreia/symfony,pix-art/symfony,paradajozsef/symfony,apfelbox/symfony,lemoinem/symfony,mihai-stancu/symfony,gimler/symfony,k0pernikus/symfony,joelwurtz/symfony,aeoris/symfony,webmozart/symfony,andreia/symfony,havvg/symfony,pierredup/symfony,e-moe/symfony,patrick-mcdougle/symfony,dbu/symfony,Slamdunk/symfony,symfony/symfony,josephdpurcell/symfony,SpacePossum/symfony,Einenlum/symfony,localheinz/symfony,hiddewie/symfony,gimler/symfony,dzuelke/symfony,sgehrig/symfony,Amo/symfony,ragboyjr/symfony,paradajozsef/symfony,SpacePossum/symfony,believer-ufa/symfony,dmaicher/symfony,phramz/symfony,geoffrey-brier/symfony,sstok/symfony,tucksaun/symfony,dzuelke/symfony,superdav42/symfony,tucksaun/symfony,derrabus/symfony,lemoinem/symfony,kbond/symfony,hhamon/symfony,backbone87/symfony,zorn-v/symfony,xabbuh/symfony,jpauli/symfony,natechicago/symfony,mickaelandrieu/symfony,maidmaid/symfony,alekitto/symfony,xabbuh/symfony,Tobion/symfony,ragboyjr/symfony,ogizanagi/symfony,Koc/symfony,pyrech/symfony,docteurklein/symfony,mpdude/symfony,andreia/symfony,Taluu/symfony,mweimerskirch/symfony,dunglas/symfony,Padam87/symfony,apfelbox/symfony,Simperfit/symfony,MatTheCat/symfony,jpauli/symfony,aeoris/symfony,gencer/symfony,natechicago/symfony,Pierstoval/symfony,WhiteEagle88/symfony,curry684/symfony,andreia/symfony,joelwurtz/symfony,codeclimate-testing/symfony,mvhirsch/symfony,kbond/symfony,voronkovich/symfony,d-ph/symfony,shieldo/symfony,chalasr/symfony,natechicago/symfony,believer-ufa/symfony,nicolas-grekas/symfony,DavidGarciaCat/symfony,c960657/symfony,OskarStark/symfony,frankdejonge/symfony,andrerom/symfony,tgalopin/symfony,ro0NL/symfony,1ed/symfony,georaldc/symfony,Deamon/symfony,yceruto/symfony,Soullivaneuh/symfony,jakubsacha/symfony,chrisguitarguy/symfony,jzawadzki/symfony,Einenlum/symfony,pix-art/symfony,smatyas/symfony,patrick-mcdougle/symfony,pamil/symfony,dbu/symfony,WhiteEagle88/symfony,Ener-Getick/symfony,pyrech/symfony,garak/symfony,lstrojny/symfony,jakubsacha/symfony,dunglas/symfony,ogizanagi/symfony,sroze/symfony,mweimerskirch/symfony,apetitpa/symfony,mnapoli/symfony,mvhirsch/symfony,fabpot/symfony,frankdejonge/symfony,e-moe/symfony,mnapoli/symfony,Taluu/symfony,realityking/symfony,lyrixx/symfony,Engerim/symfony,jjanvier/symfony,xabbuh/symfony,iltar/symfony,alekitto/symfony,MatTheCat/symfony,aeoris/symfony,romaricdrigon/symfony,lepiaf/symfony,apfelbox/symfony,pierredup/symfony,Slamdunk/symfony,Ocramius/symfony,Simperfit/symfony,romaricdrigon/symfony,lemoinem/symfony,andrerom/symfony,zerustech/symfony,csarrazi/symfony,Ocramius/symfony,oleg-andreyev/symfony,webmozart/symfony,chrisguitarguy/symfony,romainneutron/symfony,havvg/symfony,joelwurtz/symfony,nasimnabavi/symfony,zorn-v/symfony,jakzal/symfony,georaldc/symfony,weaverryan/symfony,mickaelandrieu/symfony,jameshalsall/symfony,michaelperrin/symfony,dunglas/symfony,Taluu/symfony,hiddewie/symfony,klandaika/symfony,hhamon/symfony,inso/symfony,tgalopin/symfony,vincentaubert/symfony,1ed/symfony,jakubsacha/symfony,sgehrig/symfony,SaschaDens/symfony,apetitpa/symfony,sstok/symfony,hason/symfony,Padam87/symfony,dosten/symfony,adamelso/symfony,phramz/symfony,zerkms/symfony,jderusse/symfony,patrick-mcdougle/symfony,docteurklein/symfony,codeclimate-testing/symfony,unexge/symfony,chrisguitarguy/symfony,lemoinem/symfony,pamil/symfony,pamil/symfony,phramz/symfony,jzawadzki/symfony,jpauli/symfony,Deamon/symfony,k0pernikus/symfony,gencer/symfony,WhiteEagle88/symfony,Koc/symfony,MisatoTremor/symfony,GuilhemN/symfony,adamelso/symfony,jean-gui/symfony,derrabus/symfony,mvhirsch/symfony,pamil/symfony,Koc/symfony,geoffrey-brier/symfony,hiddewie/symfony,OskarStark/symfony,phramz/symfony,1ed/symfony,k0pernikus/symfony,oleg-andreyev/symfony,Strate/symfony,zerustech/symfony,oleg-andreyev/symfony,Nyholm/symfony,zcodes/symfony,Deamon/symfony,zerkms/symfony,ewgRa/symfony,jpauli/symfony,realityking/symfony,Ener-Getick/symfony,michaelperrin/symfony,jean-gui/symfony,mpdude/symfony,sgehrig/symfony,sstok/symfony,garak/symfony,unexge/symfony,OndraM/symfony,localheinz/symfony,okdana/symfony,josephdpurcell/symfony,gonzalovilaseca/symfony,Tobion/symfony,oleg-andreyev/symfony,damienalexandre/symfony,andrerom/symfony,backbone87/symfony,mihai-stancu/symfony,symfony/symfony,e-moe/symfony,ro0NL/symfony,lyrixx/symfony,mvhirsch/symfony,romaricdrigon/symfony,MisatoTremor/symfony,zerustech/symfony,d-ph/symfony,WouterJ/symfony,voronkovich/symfony,Ocramius/symfony,paradajozsef/symfony,alekitto/symfony,Ocramius/symfony,damienalexandre/symfony,fabpot/symfony,Amo/symfony,OndraM/symfony,geoffrey-brier/symfony,k0pernikus/symfony,ajgarlag/symfony,georaldc/symfony,MatTheCat/symfony,neemzy/symfony,docteurklein/symfony,lstrojny/symfony,lyrixx/symfony,andrerom/symfony,HeahDude/symfony,zcodes/symfony,vincentaubert/symfony,klandaika/symfony,pierredup/symfony,SaschaDens/symfony,Einenlum/symfony,csarrazi/symfony,danionut90/symfony,jpauli/symfony,shieldo/symfony,patrick-mcdougle/symfony,e-moe/symfony,mvhirsch/symfony,yceruto/symfony,romainneutron/symfony,zorn-v/symfony,vincentaubert/symfony,dbu/symfony,dmaicher/symfony,curry684/symfony,smatyas/symfony,apfelbox/symfony,Ener-Getick/symfony,chalasr/symfony,lyrixx/symfony,Einenlum/symfony,believer-ufa/symfony,Padam87/symfony,teohhanhui/symfony,c960657/symfony,tronsha/symfony,lepiaf/symfony,jderusse/symfony,unexge/symfony,joelwurtz/symfony,garak/symfony,jameshalsall/symfony,okdana/symfony,hason/symfony,lepiaf/symfony,zcodes/symfony,dzuelke/symfony,dosten/symfony,MatTheCat/symfony,Aliance/symfony,natechicago/symfony,pierredup/symfony,georaldc/symfony,dbu/symfony,localheinz/symfony,okdana/symfony,Triiistan/symfony,hhamon/symfony,alekitto/symfony,HeahDude/symfony,Simperfit/symfony,GuilhemN/symfony,Soullivaneuh/symfony,chalasr/symfony,gimler/symfony,mnapoli/symfony,zerustech/symfony,tgalopin/symfony,havvg/symfony,inso/symfony,jakzal/symfony,georaldc/symfony,natechicago/symfony,pyrech/symfony,maidmaid/symfony,unexge/symfony,nasimnabavi/symfony,ro0NL/symfony,tronsha/symfony,danionut90/symfony,c960657/symfony,Ener-Getick/symfony,geoffrey-brier/symfony,arjenm/symfony,gnat42/symfony,codeclimate-testing/symfony,inso/symfony,Engerim/symfony,patrick-mcdougle/symfony,GuilhemN/symfony,weaverryan/symfony,MisatoTremor/symfony,pix-art/symfony,yceruto/symfony,apetitpa/symfony,romaricdrigon/symfony,Taluu/symfony,WouterJ/symfony,bendavies/symfony,bendavies/symfony,frankdejonge/symfony,Pierstoval/symfony,SaschaDens/symfony,Slamdunk/symfony,paradajozsef/symfony,adamelso/symfony,neemzy/symfony,docteurklein/symfony,lstrojny/symfony,ogizanagi/symfony,Aliance/symfony,romainneutron/symfony,smatyas/symfony,MisatoTremor/symfony,superdav42/symfony,DavidGarciaCat/symfony,mnapoli/symfony,Deamon/symfony,damienalexandre/symfony,lemoinem/symfony,symfony/symfony,teohhanhui/symfony,webmozart/symfony,OndraM/symfony,mihai-stancu/symfony,mickaelandrieu/symfony,jean-gui/symfony,ewgRa/symfony,dosten/symfony,apetitpa/symfony,mihai-stancu/symfony,Nyholm/symfony,Nyholm/symfony,hiddewie/symfony,GuilhemN/symfony,jvasseur/symfony,jvasseur/symfony,Amo/symfony,Pierstoval/symfony,klandaika/symfony,gnat42/symfony,stof/symfony,superdav42/symfony,pix-art/symfony,SpacePossum/symfony,mweimerskirch/symfony,inso/symfony,nicolas-grekas/symfony,gonzalovilaseca/symfony,hacfi/symfony,OndraM/symfony,jvasseur/symfony,deguif/symfony,superdav42/symfony,deguif/symfony,dbu/symfony,Triiistan/symfony,romainneutron/symfony,apfelbox/symfony,sgehrig/symfony,Triiistan/symfony,OskarStark/symfony,Slamdunk/symfony,dmaicher/symfony,jameshalsall/symfony,jameshalsall/symfony,bendavies/symfony,realityking/symfony,georaldc/symfony,maidmaid/symfony,jvasseur/symfony,stof/symfony,chalasr/symfony,Aliance/symfony,dzuelke/symfony,shieldo/symfony,jjanvier/symfony,Soullivaneuh/symfony,Simperfit/symfony,Padam87/symfony,ajgarlag/symfony,adamelso/symfony,gencer/symfony,nasimnabavi/symfony,garak/symfony,nicolas-grekas/symfony,iltar/symfony,jean-gui/symfony,MisatoTremor/symfony,vincentaubert/symfony,SpacePossum/symfony,sroze/symfony,adamelso/symfony,michaelperrin/symfony,localheinz/symfony,mpdude/symfony,pix-art/symfony,hason/symfony,ajgarlag/symfony,inso/symfony,havvg/symfony,OndraM/symfony,teohhanhui/symfony,ragboyjr/symfony,kbond/symfony,bendavies/symfony,xabbuh/symfony,zcodes/symfony,gnat42/symfony,stof/symfony,sroze/symfony,Soullivaneuh/symfony,curry684/symfony,d-ph/symfony,believer-ufa/symfony,k0pernikus/symfony,c960657/symfony,mickaelandrieu/symfony,Deamon/symfony,ragboyjr/symfony,derrabus/symfony,mweimerskirch/symfony,dmaicher/symfony,maidmaid/symfony,arjenm/symfony,Pierstoval/symfony,SpacePossum/symfony,tronsha/symfony,ewgRa/symfony,symfony/symfony,sstok/symfony,Ocramius/symfony,Ocramius/symfony,Triiistan/symfony,nicolas-grekas/symfony,damienalexandre/symfony,d-ph/symfony,believer-ufa/symfony,1ed/symfony,geoffrey-brier/symfony,mnapoli/symfony,Strate/symfony,Simperfit/symfony,MisatoTremor/symfony,jderusse/symfony,tronsha/symfony,natechicago/symfony,danionut90/symfony,jzawadzki/symfony,Ener-Getick/symfony,gimler/symfony,ajgarlag/symfony,pyrech/symfony,nasimnabavi/symfony,geoffrey-brier/symfony,tronsha/symfony,WouterJ/symfony,Ener-Getick/symfony,backbone87/symfony,iltar/symfony,deguif/symfony,Strate/symfony,webmozart/symfony,realityking/symfony,webmozart/symfony,OskarStark/symfony,SaschaDens/symfony,hacfi/symfony,jakubsacha/symfony,smatyas/symfony,havvg/symfony,jjanvier/symfony,Triiistan/symfony,unexge/symfony,arjenm/symfony,jakzal/symfony,hhamon/symfony,codeclimate-testing/symfony,tronsha/symfony,sstok/symfony,shieldo/symfony,fabpot/symfony,superdav42/symfony,Koc/symfony,weaverryan/symfony,csarrazi/symfony,zerkms/symfony,jameshalsall/symfony,jakzal/symfony,Tobion/symfony,weaverryan/symfony,klandaika/symfony,tucksaun/symfony,gonzalovilaseca/symfony,mpdude/symfony,jderusse/symfony,ogizanagi/symfony,Padam87/symfony,Tobion/symfony,mihai-stancu/symfony,yceruto/symfony,ro0NL/symfony,realityking/symfony,tucksaun/symfony,gnat42/symfony,pix-art/symfony,Engerim/symfony,docteurklein/symfony,danionut90/symfony,DavidGarciaCat/symfony,chrisguitarguy/symfony,stof/symfony,mickaelandrieu/symfony,hacfi/symfony,deguif/symfony,ewgRa/symfony,iltar/symfony,romainneutron/symfony,danionut90/symfony,ewgRa/symfony,jpauli/symfony,hiddewie/symfony,superdav42/symfony,HeahDude/symfony,smatyas/symfony,Amo/symfony,Nyholm/symfony,dzuelke/symfony,believer-ufa/symfony,danionut90/symfony,michaelperrin/symfony,Amo/symfony,arjenm/symfony,kbond/symfony,chrisguitarguy/symfony,realityking/symfony,zerustech/symfony,ewgRa/symfony,tgalopin/symfony,voronkovich/symfony,frankdejonge/symfony,dosten/symfony,SaschaDens/symfony,HeahDude/symfony,sroze/symfony,zorn-v/symfony,GuilhemN/symfony,jjanvier/symfony,jjanvier/symfony