mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 13:28:55 +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:
|
storage.file_tracker:
|
||||||
class: phpbb\storage\file_tracker
|
class: phpbb\storage\file_tracker
|
||||||
arguments:
|
arguments:
|
||||||
- '@dbal.conn'
|
|
||||||
- '@cache.driver'
|
- '@cache.driver'
|
||||||
|
- '@dbal.conn'
|
||||||
- '%tables.storage%'
|
- '%tables.storage%'
|
||||||
|
|
||||||
|
|
|
@ -19,17 +19,17 @@ use phpbb\storage\exception\storage_exception;
|
||||||
|
|
||||||
class file_tracker
|
class file_tracker
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var db
|
|
||||||
*/
|
|
||||||
protected $db;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Cache driver
|
* Cache driver
|
||||||
* @var cache
|
* @var cache
|
||||||
*/
|
*/
|
||||||
protected $cache;
|
protected $cache;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var db
|
||||||
|
*/
|
||||||
|
protected $db;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
|
@ -38,14 +38,14 @@ class file_tracker
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
*
|
*
|
||||||
* @param db $db
|
* @param cache $cache
|
||||||
* @param cache $cache
|
* @param db $db
|
||||||
* @param string $storage_table
|
* @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->cache = $cache;
|
||||||
|
$this->db = $db;
|
||||||
$this->storage_table = $storage_table;
|
$this->storage_table = $storage_table;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue