Problem/Motivation

The $client variable in TwitterAuthManager.php is defined but is never used.

/**
 * The Twitter client object.
 *
 * @var \Abraham\TwitterOAuth\TwitterOAuth
 */
private $client;

Proposed resolution

Remove the variable from TwitterAuthManager.php

CommentFileSizeAuthor
remove_unsed_variable-2841076.patch480 bytesdenutkarsh

Comments

denutkarsh created an issue. See original summary.

denutkarsh’s picture

@aloknarwaria posted this patch here, https://www.drupal.org/node/2850541#comment-11931272 .

denutkarsh’s picture

Status: Needs review » Reviewed & tested by the community

Since i have not worked on this patch, i guess i can RTBC it.

  • denutkarsh committed aac5549 on 8.x-1.x
    Issue #2856316 by aloknarwaria: Remove unused variable $client
    
denutkarsh’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed to 8.x-1.x. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.