Allow null to be passed to setHydrationCacheProfile
Allow null to be passed to setHydrationCacheProfile

Currently null can be passed and is set as default, however if you do this you get an exception. This allows null to be passed and set. 

There is an if statement later on to see if $this->_hydrationCacheProfile is null so it seems logical you can set it to be null.
levelfivehub/doctrine2,rezonant/doctrine2,AdactiveSAS/doctrine2,stof/doctrine2,guiwoda/doctrine2,nicolas-grekas/doctrine2,AdactiveSAS/doctrine2,c960657/doctrine2,Sitetheory/doctrine2,verschoof/doctrine2,Amrit01/doctrine2,tiger-seo/doctrine2,PowerKiKi/doctrine2,SocialbitGmbH/doctrine2,kinncj/doctrine2,tPl0ch/doctrine2,Hikariii/doctrine2,Luwdo/doctrine2,nicolas-grekas/doctrine2,zeroedin-bill/doctrine2,nayluge/doctrine2,tomaszmadeyski/doctrine2,issei-m/doctrine2,renan/doctrine2,ehimen/doctrine2,steevanb/doctrine2-fix-persistent-collection-clear,renan/doctrine2,easybiblabs/doctrine2,deguif/doctrine2,sergeyz/doctrine2,TomasVotruba/doctrine2,Majkl578/doctrine2,SocialbitGmbH/doctrine2,brabeji/doctrine2,mihai-stancu/doctrine2,doctrine/doctrine2,Tony133/doctrine2,mihai-stancu/doctrine2,tomaszmadeyski/doctrine2,deeky666/doctrine2,Luwdo/doctrine2,vershnik/doctrine2,damour/doctrine2,easybiblabs/doctrine2,doctrine/doctrine2,gnat42/doctrine2,levelfivehub/doctrine2,aivus/doctrine2,BlueM/doctrine2,DHager/doctrine2,localheinz/doctrine2,Ocramius/doctrine2,damour/doctrine2,sustmi/doctrine2,gnat42/doctrine2,dag-io/doctrine2,fabiocarneiro/doctrine2,qu1m/doctrine2,sustmi/doctrine2,aivus/doctrine2,cyberid41/doctrine2,hallabro/doctrine2,issei-m/doctrine2,qu1m/doctrine2,fprochazka/doctrine2,brabeji/doctrine2,vershnik/doctrine2,Ocramius/doctrine2,janlanger/doctrine2,PowerKiKi/doctrine2,yurybykov/doctrine2,bocharsky-bw/doctrine2,BlueM/doctrine2,nayluge/doctrine2,c960657/doctrine2,holtkamp/doctrine2,steevanb/doctrine2-fix-persistent-collection-clear,deguif/doctrine2,BenMorel/doctrine2,bocharsky-bw/doctrine2,xhuberty/doctrine2,beanworks/doctrine2,kinncj/doctrine2,sergeyz/doctrine2,localheinz/doctrine2,giosh94mhz/doctrine2,DethCount/doctrine2,DHager/doctrine2,dag-io/doctrine2,beanworks/doctrine2,deeky666/doctrine2,Ocramius/doctrine2,fprochazka/doctrine2,ehimen/doctrine2,Amrit01/doctrine2,rezonant/doctrine2,stof/doctrine2,guiwoda/doctrine2,bigfoot90/doctrine2,lcobucci/doctrine2,cyberid41/doctrine2,Majkl578/doctrine2,meeuw/doctrine2,cybermo/doc-tr-ine,hallabro/doctrine2,lcobucci/doctrine2,verschoof/doctrine2,emiel-silverstreet/doctrine2,nicoschoenmaker/doctrine2,gencer/doctrine2,meeuw/doctrine2,Sitetheory/doctrine2,fabiocarneiro/doctrine2,BenMorel/doctrine2,giosh94mhz/doctrine2,tPl0ch/doctrine2,mikeSimonson/doctrine2,janlanger/doctrine2,emiel-silverstreet/doctrine2,DethCount/doctrine2,zeroedin-bill/doctrine2,cybermo/doc-tr-ine,gencer/doctrine2,TomasVotruba/doctrine2,Hikariii/doctrine2,Tobion/doctrine2,xhuberty/doctrine2,mikeSimonson/doctrine2,Tobion/doctrine2,nicoschoenmaker/doctrine2,yurybykov/doctrine2,tiger-seo/doctrine2,Tony133/doctrine2,bigfoot90/doctrine2,holtkamp/doctrine2