diff --git a/src/Audit/Adapter/SQL.php b/src/Audit/Adapter/SQL.php index 3b196f2..2c59ffa 100644 --- a/src/Audit/Adapter/SQL.php +++ b/src/Audit/Adapter/SQL.php @@ -21,7 +21,7 @@ abstract class SQL extends Adapter * * @return string */ - protected function getCollectionName(): string + public function getCollectionName(): string { return self::COLLECTION; } @@ -40,7 +40,7 @@ protected function getCollectionName(): string * * @return array> */ - protected function getAttributes(): array + public function getAttributes(): array { return [ [ @@ -124,7 +124,7 @@ protected function getAttributes(): array * * @return array */ - protected function getAttributeDocuments(): array + public function getAttributeDocuments(): array { return array_map(static fn (array $attribute) => new Document($attribute), $this->getAttributes()); } @@ -139,7 +139,7 @@ protected function getAttributeDocuments(): array * * @return array> */ - protected function getIndexes(): array + public function getIndexes(): array { return [ [ @@ -170,7 +170,7 @@ protected function getIndexes(): array * * @return array */ - protected function getIndexDocuments(): array + public function getIndexDocuments(): array { return array_map(static fn (array $index) => new Document($index), $this->getIndexes()); }