Skip to content

Commit

Permalink
CS
Browse files Browse the repository at this point in the history
  • Loading branch information
barw4 committed Oct 21, 2024
1 parent 67f37d1 commit 0d3387d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 2 additions & 0 deletions src/lib/Output/Generator/InMemory/Xml.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ public function endDocument(mixed $data): string
$vars = get_object_vars($data);
$encoderContext = $this->getEncoderContext($vars);

dump($data);

$normalizers = [
new HashElementNormalizer(),
new ArrayListNormalizer(),
Expand Down
7 changes: 3 additions & 4 deletions src/lib/Output/Generator/Json/FieldTypeHashGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

namespace Ibexa\Rest\Output\Generator\Json;

use Ibexa\Rest\Output\Generator\Data\HashElement;
use Psr\Log\LoggerAwareInterface;
use Psr\Log\LoggerAwareTrait;
use Psr\Log\LoggerInterface;
Expand Down Expand Up @@ -97,7 +96,7 @@ protected function generateArrayValue($parent, array $value)
/**
* Generates a JSON array from the given $hashArray with $parent.
*
* @param \Ibexa\Rest\Output\Generator\Json\ArrayObject|\Ibexa\Rest\Output\Generator\Json\JsonObject|HashElement $parent
* @param \Ibexa\Rest\Output\Generator\Json\ArrayObject|\Ibexa\Rest\Output\Generator\Json\JsonObject|\Ibexa\Rest\Output\Generator\Data\HashElement $parent
* @param array<int> $listArray
*
* @return \Ibexa\Rest\Output\Generator\Json\ArrayObject|JsonObject
Expand All @@ -115,7 +114,7 @@ protected function generateListArray($parent, array $listArray)
/**
* Generates a JSON object from the given $hashArray with $parent.
*
* @param \Ibexa\Rest\Output\Generator\Json\ArrayObject|\Ibexa\Rest\Output\Generator\Json\JsonObject|HashElement $parent
* @param \Ibexa\Rest\Output\Generator\Json\ArrayObject|\Ibexa\Rest\Output\Generator\Json\JsonObject|\Ibexa\Rest\Output\Generator\Data\HashElement $parent
* @param array<mixed> $hashArray
*
* @return \Ibexa\Rest\Output\Generator\Json\JsonObject
Expand Down Expand Up @@ -149,7 +148,7 @@ protected function isNumericArray(array $value)
}

/**
* @param \Ibexa\Rest\Output\Generator\Json\ArrayObject|\Ibexa\Rest\Output\Generator\Json\JsonObject|HashElement $parent
* @param \Ibexa\Rest\Output\Generator\Json\ArrayObject|\Ibexa\Rest\Output\Generator\Json\JsonObject|\Ibexa\Rest\Output\Generator\Data\HashElement $parent
*
* @return mixed
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ public function testResultContainsErrorDescription($result)
*/
public function testResultContainsErrorDetails($result)
{
dump($result);
self::assertXMLTag(
[
'tag' => 'errorDetails',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,6 @@ public function testVersionInfoLanguageCodesElement($result)
*/
public function testVersionInfoNamesElement($result)
{
dump($result);
$this->assertXMLTag(
[
'tag' => 'names',
Expand Down

0 comments on commit 0d3387d

Please sign in to comment.