Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/Audit/Adapter/SQL.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ abstract class SQL extends Adapter
*
* @return string
*/
protected function getCollectionName(): string
public function getCollectionName(): string
{
return self::COLLECTION;
}
Expand All @@ -40,7 +40,7 @@ protected function getCollectionName(): string
*
* @return array<int, array<string, mixed>>
*/
protected function getAttributes(): array
public function getAttributes(): array
{
return [
[
Expand Down Expand Up @@ -124,7 +124,7 @@ protected function getAttributes(): array
*
* @return array<Document>
*/
protected function getAttributeDocuments(): array
public function getAttributeDocuments(): array
{
return array_map(static fn (array $attribute) => new Document($attribute), $this->getAttributes());
}
Expand All @@ -139,7 +139,7 @@ protected function getAttributeDocuments(): array
*
* @return array<int, array<string, mixed>>
*/
protected function getIndexes(): array
public function getIndexes(): array
{
return [
[
Expand Down Expand Up @@ -170,7 +170,7 @@ protected function getIndexes(): array
*
* @return array<Document>
*/
protected function getIndexDocuments(): array
public function getIndexDocuments(): array
{
return array_map(static fn (array $index) => new Document($index), $this->getIndexes());
}
Expand Down