aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/di
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/di')
-rw-r--r--phpBB/phpbb/di/service_collection/ordered_service_collection.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/di/service_collection/ordered_service_collection.php b/phpBB/phpbb/di/service_collection/ordered_service_collection.php
index f012abcd09..8d56434504 100644
--- a/phpBB/phpbb/di/service_collection/ordered_service_collection.php
+++ b/phpBB/phpbb/di/service_collection/ordered_service_collection.php
@@ -88,7 +88,7 @@ class ordered_service_collection extends service_collection
* @param string $service_id
* @param int $order
*/
- public function add($service_id, $order)
+ public function add($service_id, $order = 0)
{
if ($this->is_ordered)
{