mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 22:33:55 -07:00
Applied fixes from StyleCI
This commit is contained in:
parent
a523102e47
commit
f91946efdd
1 changed files with 3 additions and 1 deletions
|
@ -49,7 +49,9 @@ class AdapterTest extends \PHPUnit_Framework_TestCase
|
||||||
->getMock();
|
->getMock();
|
||||||
|
|
||||||
$platformMock = $this->getMock(AbstractPlatform::class, ['getName', 'quoteIdentifier', 'quoteValue']);
|
$platformMock = $this->getMock(AbstractPlatform::class, ['getName', 'quoteIdentifier', 'quoteValue']);
|
||||||
$platformMock->method('quoteIdentifier')->willReturnCallback(function ($v) { return '`' . $v . '`'; });
|
$platformMock->method('quoteIdentifier')->willReturnCallback(function ($v) {
|
||||||
|
return '`' . $v . '`';
|
||||||
|
});
|
||||||
$platformMock->method('quoteValue')->willReturnCallback(function ($v) {
|
$platformMock->method('quoteValue')->willReturnCallback(function ($v) {
|
||||||
if (is_int($v)) {
|
if (is_int($v)) {
|
||||||
return $v;
|
return $v;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue