Skip to content

Commit

Permalink
TE-10483: Fixed remaining issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmytro Dymarchuk committed Mar 27, 2022
1 parent e23601c commit f367473
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function format(?DataFetcherInterface $dataFetcher = null)
*
* @return \Spryker\Shared\Kernel\Transfer\TransferInterface|null
*/
public function formatOne(?DataFetcherInterface $dataFetcher = null)
public function formatOne(?DataFetcherInterface $dataFetcher = null): ?array
{
$this->checkInit();
$result = null;
Expand Down Expand Up @@ -100,7 +100,7 @@ public function formatOne(?DataFetcherInterface $dataFetcher = null)
$this->alreadyHydratedObjects = [];
$dataFetcher->close();

return $result;
return $result->toArray();
}

/**
Expand Down

0 comments on commit f367473

Please sign in to comment.