Replaced $myComponent with $eventsManager

I have replaced the following line:

    //Bind the eventsManager to the instance
    $myComponent->setEventsManager($myComponent);

with:

    //Bind the eventsManager to the instance
    $myComponent->setEventsManager($eventsManager);