mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
Replace string namespaces with ::class
This commit is contained in:
parent
9f11476ca0
commit
5fc42a744e
11 changed files with 52 additions and 26 deletions
|
@ -26,7 +26,7 @@ trait DBStructureMockTrait
|
|||
public function mockUpdate($args = [], $return = true, $times = null)
|
||||
{
|
||||
if (!isset($this->dbStructure)) {
|
||||
$this->dbStructure = \Mockery::mock('alias:Friendica\Database\DBStructure');
|
||||
$this->dbStructure = \Mockery::mock('alias:' . DBStructure::class);
|
||||
}
|
||||
|
||||
$this->dbStructure
|
||||
|
@ -46,7 +46,7 @@ trait DBStructureMockTrait
|
|||
public function mockExistsTable($tableName, $return = true, $times = null)
|
||||
{
|
||||
if (!isset($this->dbStructure)) {
|
||||
$this->dbStructure = \Mockery::mock('alias:Friendica\Database\DBStructure');
|
||||
$this->dbStructure = \Mockery::mock('alias:' . DBStructure::class);
|
||||
}
|
||||
|
||||
$this->dbStructure
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue