1
0
mirror of synced 2025-02-02 13:31:45 +03:00

#7527 automated CS checks

This commit is contained in:
Marco Pivetta 2018-12-20 22:45:54 +01:00
parent ca436f0bae
commit a41f5673bc
2 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,7 @@
<?php <?php
declare(strict_types=1);
namespace Doctrine\Performance; namespace Doctrine\Performance;
use Doctrine\Common\EventManager; use Doctrine\Common\EventManager;
@ -12,6 +14,8 @@ use Doctrine\ORM\EntityManager;
use Doctrine\ORM\EntityManagerInterface; use Doctrine\ORM\EntityManagerInterface;
use Doctrine\ORM\Proxy\ProxyFactory; use Doctrine\ORM\Proxy\ProxyFactory;
use Doctrine\ORM\Tools\SchemaTool; use Doctrine\ORM\Tools\SchemaTool;
use function array_map;
use function realpath;
final class EntityManagerFactory final class EntityManagerFactory
{ {
@ -57,7 +61,8 @@ final class EntityManagerFactory
// A connection that doesn't really do anything // A connection that doesn't really do anything
$connection = new class ([], new Driver(), null, new EventManager()) extends Connection $connection = new class ([], new Driver(), null, new EventManager()) extends Connection
{ {
public function executeQuery($query, array $params = [], $types = [], QueryCacheProfile $qcp = null) /** {@inheritdoc} */
public function executeQuery($query, array $params = [], $types = [], ?QueryCacheProfile $qcp = null)
{ {
return new ArrayStatement([]); return new ArrayStatement([]);
} }

View File

@ -76,4 +76,3 @@ DQL;
$this->parsedQueryWithDeclaredParameterType->execute(); $this->parsedQueryWithDeclaredParameterType->execute();
} }
} }