Skip to content

Commit 48e2233

Browse files
authored
Merge pull request #107 from tyrsson/patch-abstractsql-subject-visibility
Corrects AbstractSql::$subject visibility
2 parents 3582113 + a3bf213 commit 48e2233

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/Sql/AbstractSql.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737
abstract class AbstractSql implements SqlInterface
3838
{
39-
public SqlInterface|PreparableSqlInterface|null $subject = null;
39+
protected SqlInterface|PreparableSqlInterface|null $subject = null;
4040

4141
/**
4242
* Specifications for Sql String generation
@@ -45,6 +45,11 @@ abstract class AbstractSql implements SqlInterface
4545
*/
4646
protected array $specifications = [];
4747

48+
/**
49+
* Information used during processing
50+
*
51+
* @var array{paramPrefix: string, subselectCount: int}
52+
*/
4853
protected array $processInfo = ['paramPrefix' => '', 'subselectCount' => 0];
4954

5055
protected array $instanceParameterIndex = [];

0 commit comments

Comments
 (0)