Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Jan 4, 2024
1 parent 965b5ec commit de9f294
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Dumper.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ private function buildObjectsCache($variable, int $depth, int $level = 0): void
}
if (is_object($variable)) {
if (array_key_exists($variable::class, $this->excludedClasses) ||
array_key_exists(($objectDescription = $this->getObjectDescription($variable)), $this->objects)
array_key_exists($objectDescription = $this->getObjectDescription($variable), $this->objects)
) {
return;
}
Expand All @@ -90,8 +90,7 @@ private function asJsonInternal(
int $objectCollapseLevel,
bool $inlineObject,
bool $buildCache,
): string|bool
{
): string|bool {
$options = JSON_THROW_ON_ERROR | JSON_UNESCAPED_UNICODE | JSON_INVALID_UTF8_SUBSTITUTE;

if ($format) {
Expand Down

0 comments on commit de9f294

Please sign in to comment.