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