Skip to content

Commit

Permalink
#7527 automated CS checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Ocramius committed Dec 20, 2018
1 parent ca436f0 commit a41f567
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
7 changes: 6 additions & 1 deletion tests/Doctrine/Performance/EntityManagerFactory.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Doctrine\Performance;

use Doctrine\Common\EventManager;
Expand All @@ -12,6 +14,8 @@
use Doctrine\ORM\EntityManagerInterface;
use Doctrine\ORM\Proxy\ProxyFactory;
use Doctrine\ORM\Tools\SchemaTool;
use function array_map;
use function realpath;

final class EntityManagerFactory
{
Expand Down Expand Up @@ -57,7 +61,8 @@ public static function makeEntityManagerWithNoResultsConnection() : EntityManage
// A connection that doesn't really do anything
$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([]);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,3 @@ public function benchExecuteParsedQueryWithDeclaredParameterType() : void
$this->parsedQueryWithDeclaredParameterType->execute();
}
}

0 comments on commit a41f567

Please sign in to comment.