Skip to content

Commit 93caaf3

Browse files
committed
Removed readonly on properties (readonly property cannot have a default value)
1 parent d2c5ce0 commit 93caaf3

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/Builder/Connection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public function __construct(
1414
private Node\Expr $dsn,
1515
private ?Node\Expr $username = null,
1616
private ?Node\Expr $password = null,
17-
private readonly string $generatedNamespace = 'GyroscopsGenerated',
17+
private string $generatedNamespace = 'GyroscopsGenerated',
1818
) {
1919
$this->persistentConnection = null;
2020
}

src/Builder/SharedConnection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public function __construct(
1414
private Node\Expr $dsn,
1515
private ?Node\Expr $username = null,
1616
private ?Node\Expr $password = null,
17-
private readonly string $generatedNamespace = 'GyroscopsGenerated',
17+
private string $generatedNamespace = 'GyroscopsGenerated',
1818
) {
1919
$this->persistentConnection = null;
2020
}

src/Factory/Connection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ final class Connection implements FactoryInterface
2323

2424
public function __construct(
2525
private ExpressionLanguage $interpreter,
26-
private readonly string $generatedNamespace = 'GyroscopsGenerated',
26+
private string $generatedNamespace = 'GyroscopsGenerated',
2727
) {
2828
$this->processor = new Processor();
2929
$this->configuration = new SQL\Configuration\Extractor();

src/Service.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ final class Service implements Configurator\PipelinePluginInterface
2929

3030
public function __construct(
3131
?ExpressionLanguage $interpreter = null,
32-
private readonly string $generatedNamespace = 'GyroscopsGenerated',
32+
private string $generatedNamespace = 'GyroscopsGenerated',
3333
) {
3434
$this->processor = new Processor();
3535
$this->configuration = new Configuration();

0 commit comments

Comments
 (0)