Skip to content

Commit b6d97f6

Browse files
committed
fixes
1 parent 86b4f24 commit b6d97f6

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

packages/PdoEventSourcing/src/Database/EventStreamTableManager.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ final class EventStreamTableManager implements DbalTableManager
2222

2323
public function __construct(
2424
private string $tableName,
25-
private bool $isActive,
26-
private bool $shouldAutoInitialize,
25+
private bool $isUsed,
26+
private bool $shouldAutoInitialize,
2727
) {
2828
}
2929

@@ -32,9 +32,9 @@ public function getFeatureName(): string
3232
return self::FEATURE_NAME;
3333
}
3434

35-
public function isActive(): bool
35+
public function isUsed(): bool
3636
{
37-
return $this->isActive;
37+
return $this->isUsed;
3838
}
3939

4040
public function getTableName(): string
@@ -94,7 +94,7 @@ public function isInitialized(Connection $connection): bool
9494

9595
public function getDefinition(): Definition
9696
{
97-
return new Definition(self::class, [$this->tableName, $this->isActive, $this->shouldAutoInitialize]);
97+
return new Definition(self::class, [$this->tableName, $this->isUsed, $this->shouldAutoInitialize]);
9898
}
9999

100100
public function shouldBeInitializedAutomatically(): bool

packages/PdoEventSourcing/src/Database/LegacyProjectionsTableManager.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ final class LegacyProjectionsTableManager implements DbalTableManager
2222

2323
public function __construct(
2424
private string $tableName,
25-
private bool $isActive,
26-
private bool $shouldAutoInitialize,
25+
private bool $isUsed,
26+
private bool $shouldAutoInitialize,
2727
) {
2828
}
2929

@@ -32,9 +32,9 @@ public function getFeatureName(): string
3232
return self::FEATURE_NAME;
3333
}
3434

35-
public function isActive(): bool
35+
public function isUsed(): bool
3636
{
37-
return $this->isActive;
37+
return $this->isUsed;
3838
}
3939

4040
public function getTableName(): string
@@ -94,7 +94,7 @@ public function isInitialized(Connection $connection): bool
9494

9595
public function getDefinition(): Definition
9696
{
97-
return new Definition(self::class, [$this->tableName, $this->isActive, $this->shouldAutoInitialize]);
97+
return new Definition(self::class, [$this->tableName, $this->isUsed, $this->shouldAutoInitialize]);
9898
}
9999

100100
public function shouldBeInitializedAutomatically(): bool

packages/PdoEventSourcing/src/Database/ProjectionStateTableManager.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ final class ProjectionStateTableManager implements DbalTableManager
2424

2525
public function __construct(
2626
private string $tableName,
27-
private bool $isActive,
28-
private bool $shouldAutoInitialize,
27+
private bool $isUsed,
28+
private bool $shouldAutoInitialize,
2929
) {
3030
}
3131

@@ -34,9 +34,9 @@ public function getFeatureName(): string
3434
return self::FEATURE_NAME;
3535
}
3636

37-
public function isActive(): bool
37+
public function isUsed(): bool
3838
{
39-
return $this->isActive;
39+
return $this->isUsed;
4040
}
4141

4242
public function getTableName(): string
@@ -86,7 +86,7 @@ public function isInitialized(Connection $connection): bool
8686

8787
public function getDefinition(): Definition
8888
{
89-
return new Definition(self::class, [$this->tableName, $this->isActive, $this->shouldAutoInitialize]);
89+
return new Definition(self::class, [$this->tableName, $this->isUsed, $this->shouldAutoInitialize]);
9090
}
9191

9292
public function shouldBeInitializedAutomatically(): bool

0 commit comments

Comments
 (0)