Skip to content

Commit

Permalink
Remove Match.groupOffsets() and Match.byteGroupOffsets() (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Wilkowski committed Dec 2, 2018
1 parent d4a1c7a commit 3450d2c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 24 deletions.
4 changes: 0 additions & 4 deletions src/TRegx/CleanRegex/Match/Details/Match.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@ public function offset(): int;

public function byteOffset(): int;

public function groupOffsets(): array;

public function byteGroupOffsets(): array;

public function setUserData($userData): void;

public function getUserData();
Expand Down
10 changes: 0 additions & 10 deletions src/TRegx/CleanRegex/Match/Details/MatchImpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,16 +156,6 @@ public function byteOffset(): int
return $this->match->byteOffset();
}

public function groupOffsets(): array
{
return $this->byteGroupOffsets();
}

public function byteGroupOffsets(): array
{
return $this->match->getGroupsOffsets();
}

public function setUserData($userData): void
{
$this->userData->get($this)->set($userData);
Expand Down
10 changes: 0 additions & 10 deletions test/Utils/OffsetMatchImpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,16 +77,6 @@ public function offset(): int
throw new Exception();
}

public function groupOffsets(): array
{
throw new Exception();
}

public function byteGroupOffsets(): array
{
throw new Exception();
}

public function setUserData($userData): void
{
throw new Exception();
Expand Down

0 comments on commit 3450d2c

Please sign in to comment.