From 5b51acf245fc1fbd454d394e8b44bf73d6439248 Mon Sep 17 00:00:00 2001
From: Tristan Darricau <github@nicofuma.fr>
Date: Thu, 5 Jun 2014 01:03:16 +0200
Subject: [ticket/12655] Set register_container_commands as public

PHPBB3-12655
---
 phpBB/phpbb/console/application.php | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

(limited to 'phpBB/phpbb/console')

diff --git a/phpBB/phpbb/console/application.php b/phpBB/phpbb/console/application.php
index 91d95b9a7b..b1f0635913 100644
--- a/phpBB/phpbb/console/application.php
+++ b/phpBB/phpbb/console/application.php
@@ -13,9 +13,6 @@
 
 namespace phpbb\console;
 
-use Symfony\Component\Console\Input\ArgvInput;
-use Symfony\Component\Console\Output\ConsoleOutput;
-use Symfony\Component\Console\Output\ConsoleOutputInterface;
 use Symfony\Component\Console\Shell;
 use Symfony\Component\Console\Input\InputInterface;
 use Symfony\Component\Console\Input\InputOption;
@@ -79,7 +76,7 @@ class application extends \Symfony\Component\Console\Application
 	* @param TaggedContainerInterface	$container	The container
 	* @param string						$tag		The tag used to register the commands
 	*/
-	function register_container_commands(TaggedContainerInterface $container, $tag = 'console.command')
+	public function register_container_commands(TaggedContainerInterface $container, $tag = 'console.command')
 	{
 		foreach($container->findTaggedServiceIds($tag) as $id => $void)
 		{
-- 
cgit v1.2.1