Make (Title|User)Array implements Countable

count( $results ) always returned 1, now expected number

Bug: 58377
Change-Id: I7d6b3bc1b09b46fe60cb5a74c25f9b28fffa5b73
This commit is contained in:
Niklas Laxström 2013-12-12 09:19:19 +00:00
parent 17f7bb21c1
commit 1a3f73dd8c
2 changed files with 2 additions and 2 deletions

View file

@ -56,7 +56,7 @@ abstract class TitleArray implements Iterator {
}
}
class TitleArrayFromResult extends TitleArray {
class TitleArrayFromResult extends TitleArray implements Countable {
/**
* @var ResultWrapper

View file

@ -61,7 +61,7 @@ abstract class UserArray implements Iterator {
}
}
class UserArrayFromResult extends UserArray {
class UserArrayFromResult extends UserArray implements Countable {
/**
* @var ResultWrapper