Skip to content

Commit 6b5c8cb

Browse files
committed
Fix CS
1 parent 08fe7f7 commit 6b5c8cb

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

DependencyInjection/AbstractDoctrineExtension.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ protected function setMappingDriverConfig(array $mappingConfig, string $mappingN
139139
*
140140
* @return array|false
141141
*/
142-
protected function getMappingDriverBundleConfigDefaults(array $bundleConfig, \ReflectionClass $bundle, ContainerBuilder $container/*, string $bundleDir = null*/)
142+
protected function getMappingDriverBundleConfigDefaults(array $bundleConfig, \ReflectionClass $bundle, ContainerBuilder $container/* , string $bundleDir = null */)
143143
{
144144
if (\func_num_args() < 4 && __CLASS__ !== static::class && __CLASS__ !== (new \ReflectionMethod($this, __FUNCTION__))->getDeclaringClass()->getName() && !$this instanceof \PHPUnit\Framework\MockObject\MockObject && !$this instanceof \Prophecy\Prophecy\ProphecySubjectInterface && !$this instanceof \Mockery\MockInterface) {
145145
trigger_deprecation('symfony/doctrine-bridge', '5.4', 'The "%s()" method will have a new "string $bundleDir = null" argument in version 6.0, not defining it is deprecated.', __METHOD__);
@@ -462,7 +462,7 @@ abstract protected function getMappingObjectDefaultName();
462462
*
463463
* @return string
464464
*/
465-
abstract protected function getMappingResourceConfigDirectory(/*string $bundleDir = null*/);
465+
abstract protected function getMappingResourceConfigDirectory(/* string $bundleDir = null */);
466466

467467
/**
468468
* Extension used by the mapping files.

Tests/Form/ChoiceList/DoctrineChoiceLoaderTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,8 +364,8 @@ public function testLoadChoicesForValuesLoadsOnlyChoicesIfValueUseIdReader()
364364

365365
$this->assertSame(
366366
[4 => $this->obj3, 7 => $this->obj2],
367-
$loader->loadChoicesForValues([4 => '3', 7 => '2'], [$this->idReader, 'getIdValue']
368-
));
367+
$loader->loadChoicesForValues([4 => '3', 7 => '2'], [$this->idReader, 'getIdValue'])
368+
);
369369
}
370370

371371
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)