Bug #26493

Repository::countAll() does not return integers

Added by Bastian Waidelich over 10 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Must have
Category:
Persistence
Start date:
2011-04-29
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
Complexity:

Description

RepositoryInterface::countAll() should return integers. But apparently the doctrine integration does not cast the return type thus

$repository->countAll() === 1
will never be TRUE.

#1

Updated by Karsten Dambekalns over 10 years ago

  • Status changed from New to Accepted
  • Priority changed from Should have to Must have
  • Target version set to 1.0 beta 1
#2

Updated by Mr. Hudson over 10 years ago

Patch set 1 of change I4d7afd65e819d0fda0dbedf541d0766aa81138e6 has been pushed to the review server.
It is available at http://review.typo3.org/1793

#3

Updated by Karsten Dambekalns over 10 years ago

  • Status changed from Accepted to Under Review
#4

Updated by Karsten Dambekalns over 10 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF