*
* @param string $redirectUri Redirect url in case of error
*
- * @return string request_token for callback method
+ * @return string|false request_token for callback method
*/
public function getRequestToken($redirectUri)
{
// flush every 20 entries
if (($i % 20) === 0) {
$this->em->flush();
+ $this->em->clear($entry);
}
++$i;
}