[feature/migrations] Add method and property visibility, use __construct()

PHPBB3-9737
This commit is contained in:
David King 2012-11-12 16:54:10 -05:00 committed by Nathan Guse
parent 61debcf14c
commit 826607a405

View file

@ -41,7 +41,7 @@ abstract class phpbb_db_migration
* *
* @param \Symfony\Component\DependencyInjection\ContainerInterface $container Container supplying dependencies * @param \Symfony\Component\DependencyInjection\ContainerInterface $container Container supplying dependencies
*/ */
public function phpbb_db_migration(\Symfony\Component\DependencyInjection\ContainerInterface $container) public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container)
{ {
$this->config = $this->container->get('config'); $this->config = $this->container->get('config');
$this->db = $this->container->get('dbal.conn'); $this->db = $this->container->get('dbal.conn');