code: public function removeFavoriteAd(\Miky\Bundle\AdBundle\Entity\Ad $favoriteAd)
      {
          return $this->favoriteAds->removeElement($favoriteAd);
      }
docs: Remove favoriteAd
  
  @param \Miky\Bundle\AdBundle\Entity\Ad $favoriteAd
  
  @return boolean TRUE if this collection contained the specified element, FALSE otherwise.