Skip to content

Commit

Permalink
Fix for this error:
Browse files Browse the repository at this point in the history
Fatal error: Access level to Sonata\MediaBundle\Listener\ODM\MediaEventSubscriber::recomputeSingleEntityChangeSet() must be protected (as in class Sonata\MediaBundle\Listener\BaseMediaEventSubscriber) or weaker in ..../vendor/sonata-project/media-bundle/Sonata/MediaBundle/Listener/ODM/MediaEventSubscriber.php on line 19
  • Loading branch information
marcoleong committed Jul 23, 2012
1 parent 9be2953 commit 8b8afcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Listener/ODM/MediaEventSubscriber.php
Expand Up @@ -36,7 +36,7 @@ public function getSubscribedEvents()
* @param \Doctrine\Common\EventArgs $args
* @return void
*/
private function recomputeSingleEntityChangeSet(EventArgs $args)
protected function recomputeSingleEntityChangeSet(EventArgs $args)
{
$em = $args->getDocumentManager();

Expand Down

0 comments on commit 8b8afcd

Please sign in to comment.