Commit d7cfbba1 authored by Marc Bastian Heinrichs's avatar Marc Bastian Heinrichs Committed by Markus Klein
Browse files

[TASK] Remove wrong deprecation in extbase persistence

A method was misleadingly deprecated in QueryInterface.
Also an additional hint was added to the other deprecated
methods.

Resolves: #57277
Releases: 6.2
Change-Id: If80c707f1f65637682d5592116aaecb1a1e5918e
Reviewed-on: https://review.typo3.org/28754
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Markus Klein
Tested-by: Markus Klein
parent 8b397387
......@@ -93,7 +93,8 @@ interface PersistenceManagerInterface {
*
* @param QueryInterface $query
* @return integer
* @deprecated since Extbase 6.0, will be removed in Extbase 7.0
* @deprecated since Extbase 6.0, will be removed in Extbase 7.0. It is deprecated only in the interface to be more
* in sync with Flow in future and will stay in Generic Persistence.
* @api
*/
public function getObjectCountByQuery(QueryInterface $query);
......@@ -103,7 +104,8 @@ interface PersistenceManagerInterface {
*
* @param QueryInterface $query
* @return array
* @deprecated since Extbase 6.0, will be removed in Extbase 7.0
* @deprecated since Extbase 6.0, will be removed in Extbase 7.0. It is deprecated only in the interface to be more
* in sync with Flow in future and will stay in Generic Persistence.
* @api
*/
public function getObjectDataByQuery(QueryInterface $query);
......@@ -112,7 +114,8 @@ interface PersistenceManagerInterface {
* Registers a repository
*
* @param string $className The class name of the repository to be reigistered
* @deprecated since Extbase 6.0, will be removed in Extbase 7.0
* @deprecated since Extbase 6.0, will be removed in Extbase 7.0. It is deprecated only in the interface to be more
* in sync with Flow in future and will stay in Generic Persistence.
* @return void
*/
public function registerRepositoryClassName($className);
......
......@@ -135,7 +135,8 @@ interface QueryInterface {
* Gets the node-tuple source for this query.
*
* @return \TYPO3\CMS\Extbase\Persistence\Generic\Qom\SourceInterface the node-tuple source; non-NULL
* @deprecated since Extbase 6.0, will be removed in Extbase 7.0
* @deprecated since Extbase 6.0, will be removed in Extbase 7.0. It is deprecated only in the interface to be more
* in sync with Flow in future and will stay in Generic Persistence.
*/
public function getSource();
......@@ -325,7 +326,6 @@ interface QueryInterface {
* Returns the type this query cares for.
*
* @return string
* @deprecated since Extbase 6.0, will be removed in Extbase 7.0
* @api
*/
public function getType();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment