Remove @ingroup Diff comment which seems to have come from the extension
Change-Id: I2a357bde2b4298315ef05a619a05b56b0ce4dca2
* @since 1.20
*
* @file
- * @ingroup Diff
*
* @licence GNU GPL v2+
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
* @return integer
*/
protected function getNewOffset() {
- while ( true ) {
- if ( !$this->offsetExists( $this->indexOffset ) ) {
- return $this->indexOffset;
- }
-
+ while ( $this->offsetExists( $this->indexOffset ) ) {
$this->indexOffset++;
}
+
+ return $this->indexOffset;
}
/**