1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 05:20:56 +02:00

[ticket/17361] Change order of arguments

PHPBB-17361
This commit is contained in:
Ruben Calvo
2025-01-18 23:15:18 +01:00
parent 90bd9d006e
commit 598d1c7f49
2 changed files with 11 additions and 11 deletions

View File

@@ -123,7 +123,7 @@ services:
storage.file_tracker:
class: phpbb\storage\file_tracker
arguments:
- '@dbal.conn'
- '@cache.driver'
- '@dbal.conn'
- '%tables.storage%'

View File

@@ -19,17 +19,17 @@ use phpbb\storage\exception\storage_exception;
class file_tracker
{
/**
* @var db
*/
protected $db;
/**
* Cache driver
* @var cache
*/
protected $cache;
/**
* @var db
*/
protected $db;
/**
* @var string
*/
@@ -38,14 +38,14 @@ class file_tracker
/**
* Constructor
*
* @param db $db
* @param cache $cache
* @param string $storage_table
* @param cache $cache
* @param db $db
* @param string $storage_table
*/
public function __construct(db $db, cache $cache, string $storage_table)
public function __construct(cache $cache,db $db, string $storage_table)
{
$this->db = $db;
$this->cache = $cache;
$this->db = $db;
$this->storage_table = $storage_table;
}