mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/17361] Change order of arguments
PHPBB-17361
This commit is contained in:
parent
90bd9d006e
commit
598d1c7f49
2 changed files with 11 additions and 11 deletions
|
@ -123,7 +123,7 @@ services:
|
|||
storage.file_tracker:
|
||||
class: phpbb\storage\file_tracker
|
||||
arguments:
|
||||
- '@dbal.conn'
|
||||
- '@cache.driver'
|
||||
- '@dbal.conn'
|
||||
- '%tables.storage%'
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue