Skip to content

Commit

Permalink
chore: duster
Browse files Browse the repository at this point in the history
  • Loading branch information
patoui committed Dec 1, 2024
1 parent 60a660b commit 0e07fb6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/Traits/HasBindings.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ trait HasBindings
public ?string $binding_key = null;
public ?array $binding_keys = null;

public function resetBindingKeys(): void
{
$this->binding_key = null;
$this->binding_keys = null;
}

protected function nextBindingKey(mixed $value): string
{
$hash = md5(json_encode($value));
Expand Down Expand Up @@ -37,12 +43,6 @@ protected function nextKey(): string
return $this->binding_key;
}

public function resetBindingKeys(): void
{
$this->binding_key = null;
$this->binding_keys = null;
}

protected function flattenWithKeys(array $data): array
{
$result = [];
Expand Down

0 comments on commit 0e07fb6

Please sign in to comment.