mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[feature/migrations] Add method and property visibility, use __construct()
PHPBB3-9737
This commit is contained in:
parent
61debcf14c
commit
826607a405
1 changed files with 1 additions and 1 deletions
|
@ -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');
|
||||||
|
|
Loading…
Add table
Reference in a new issue