}
}
if ( !$this->liveRing ) {
- throw UnexpectedValueException( "The live ring is currently empty." );
+ throw new UnexpectedValueException( "The live ring is currently empty." );
}
return $this->liveRing;
* @return array List of locations
* @throws UnexpectedValueException
*/
- public function getLiveLocations( $item ) {
- return $this->getLiveRing()->getLocations( $item );
+ public function getLiveLocations( $item, $limit ) {
+ return $this->getLiveRing()->getLocations( $item, $limit );
}
/**