Skip to content

Commit

Permalink
thank you scrutinizer
Browse files Browse the repository at this point in the history
  • Loading branch information
krowinski committed Feb 12, 2020
1 parent 8ac85c9 commit f8c67b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ public function parseToString(): string
*/
private function parseJson(int $type): void
{
$results = [];
if (self::SMALL_OBJECT === $type) {
$results[self::OBJECT] = $this->parseArrayOrObject(self::OBJECT, self::SMALL_OFFSET_SIZE);
} else if (self::LARGE_OBJECT === $type) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function __construct(
$this->offset = $offset;
}

public function getOffset(): int
public function getOffset(): ?int
{
return $this->offset;
}
Expand Down

0 comments on commit f8c67b4

Please sign in to comment.