Skip to content

Commit c9adc3d

Browse files
committed
Merge branch '5.4' into 6.0
* 5.4: Fix CS Fix CS
2 parents 67bcc1e + 6b5c8cb commit c9adc3d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Tests/Form/ChoiceList/DoctrineChoiceLoaderTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -318,8 +318,8 @@ public function testLegacyLoadChoicesForValuesLoadsOnlyChoicesIfValueUseIdReader
318318

319319
$this->assertSame(
320320
[4 => $this->obj3, 7 => $this->obj2],
321-
$loader->loadChoicesForValues([4 => '3', 7 => '2']
322-
));
321+
$loader->loadChoicesForValues([4 => '3', 7 => '2'])
322+
);
323323
}
324324

325325
public function testLoadChoicesForValuesLoadsOnlyChoicesIfValueUseIdReader()
@@ -354,8 +354,8 @@ public function testLoadChoicesForValuesLoadsOnlyChoicesIfValueUseIdReader()
354354

355355
$this->assertSame(
356356
[4 => $this->obj3, 7 => $this->obj2],
357-
$loader->loadChoicesForValues([4 => '3', 7 => '2'], [$this->idReader, 'getIdValue']
358-
));
357+
$loader->loadChoicesForValues([4 => '3', 7 => '2'], [$this->idReader, 'getIdValue'])
358+
);
359359
}
360360

361361
public function testLoadChoicesForValuesLoadsAllIfSingleIntIdAndValueGiven()

Types/AbstractUidType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public function requiresSQLCommentHint(AbstractPlatform $platform): bool
9999
private function hasNativeGuidType(AbstractPlatform $platform): bool
100100
{
101101
// Compatibility with DBAL < 3.4
102-
$method = \method_exists($platform, 'getStringTypeDeclarationSQL')
102+
$method = method_exists($platform, 'getStringTypeDeclarationSQL')
103103
? 'getStringTypeDeclarationSQL'
104104
: 'getVarcharTypeDeclarationSQL';
105105

0 commit comments

Comments
 (0)