1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-24 20:13:22 +01:00

[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
*/
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->db = $this->container->get('dbal.conn');