Skip to content

Commit 760cf90

Browse files
committed
Add and extend deprecation annotations
1 parent 5fa6520 commit 760cf90

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/Query/Exec/SingleSelectExecutor.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
* Executor that executes the SQL statement for simple DQL SELECT statements.
1515
*
1616
* @link www.doctrine-project.org
17+
*
18+
* @deprecated This class is no longer needed by the ORM and will be removed in 4.0.
1719
*/
1820
class SingleSelectExecutor extends AbstractSqlExecutor
1921
{

src/Query/ParserResult.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public function setResultSetMapping(ResultSetMapping $rsm): void
7272
/**
7373
* Sets the SQL executor that should be used for this ParserResult.
7474
*
75-
* @deprecated
75+
* @deprecated The SqlExecutor will be removed from ParserResult in 4.0. Provide a SqlFinalizer instead that can create the executor.
7676
*/
7777
public function setSqlExecutor(AbstractSqlExecutor $executor): void
7878
{
@@ -90,7 +90,7 @@ public function setSqlExecutor(AbstractSqlExecutor $executor): void
9090
/**
9191
* Gets the SQL executor used by this ParserResult.
9292
*
93-
* @deprecated
93+
* @deprecated The SqlExecutor will be removed from ParserResult in 4.0. Provide a SqlFinalizer instead that can create the executor.
9494
*/
9595
public function getSqlExecutor(): AbstractSqlExecutor
9696
{

0 commit comments

Comments
 (0)