Passed
Push — master ( af4c57...4664b1 )
by
unknown
03:30
created
src/ResultIterator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
      */
83 83
     public static function createResultIterator(QueryFactory $queryFactory, array $parameters, ObjectStorageInterface $objectStorage, ?string $className, TDBMService $tdbmService, MagicQuery $magicQuery, int $mode, LoggerInterface $logger): self
84 84
     {
85
-        $iterator =  new static();
85
+        $iterator = new static();
86 86
         if ($mode !== TDBMService::MODE_CURSOR && $mode !== TDBMService::MODE_ARRAY) {
87 87
             throw new TDBMException("Unknown fetch mode: '".$mode."'");
88 88
         }
@@ -273,7 +273,7 @@  discard block
 block discarded – undo
273 273
      */
274 274
     public function jsonSerialize($stopRecursion = false): mixed
275 275
     {
276
-        return array_map(function (AbstractTDBMObject $item) use ($stopRecursion) {
276
+        return array_map(function(AbstractTDBMObject $item) use ($stopRecursion) {
277 277
             return $item->jsonSerialize($stopRecursion);
278 278
         }, $this->toArray());
279 279
     }
Please login to merge, or discard this patch.
src/PageIterator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -274,7 +274,7 @@
 block discarded – undo
274 274
      */
275 275
     public function jsonSerialize(): mixed
276 276
     {
277
-        return array_map(function (AbstractTDBMObject $item) {
277
+        return array_map(function(AbstractTDBMObject $item) {
278 278
             return $item->jsonSerialize();
279 279
         }, $this->toArray());
280 280
     }
Please login to merge, or discard this patch.