@@ -49,7 +49,7 @@ |
||
49 | 49 | |
50 | 50 | $fromLock = (bool) $input->getOption('from-lock'); |
51 | 51 | |
52 | - $loggers = [ new ConsoleLogger($output) ]; |
|
52 | + $loggers = [new ConsoleLogger($output)]; |
|
53 | 53 | |
54 | 54 | $logger = $alteredConf->getLogger(); |
55 | 55 | if ($logger) { |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | */ |
79 | 79 | public static function createResultIterator(ResultIterator $parentResult, string $magicSql, array $parameters, int $limit, int $offset, array $columnDescriptors, ObjectStorageInterface $objectStorage, ?string $className, TDBMService $tdbmService, MagicQuery $magicQuery, int $mode, LoggerInterface $logger): self |
80 | 80 | { |
81 | - $iterator = new self(); |
|
81 | + $iterator = new self(); |
|
82 | 82 | $iterator->parentResult = $parentResult; |
83 | 83 | $iterator->magicSql = $magicSql; |
84 | 84 | $iterator->objectStorage = $objectStorage; |
@@ -277,7 +277,7 @@ discard block |
||
277 | 277 | */ |
278 | 278 | public function jsonSerialize() |
279 | 279 | { |
280 | - return array_map(function (AbstractTDBMObject $item) { |
|
280 | + return array_map(function(AbstractTDBMObject $item) { |
|
281 | 281 | return $item->jsonSerialize(); |
282 | 282 | }, $this->toArray()); |
283 | 283 | } |
@@ -78,7 +78,7 @@ |
||
78 | 78 | */ |
79 | 79 | public static function createInnerResultIterator(string $magicSql, array $parameters, ?int $limit, ?int $offset, array $columnDescriptors, ObjectStorageInterface $objectStorage, ?string $className, TDBMService $tdbmService, MagicQuery $magicQuery, LoggerInterface $logger): self |
80 | 80 | { |
81 | - $iterator = new static(); |
|
81 | + $iterator = new static(); |
|
82 | 82 | $iterator->magicSql = $magicSql; |
83 | 83 | $iterator->objectStorage = $objectStorage; |
84 | 84 | $iterator->className = $className; |