Part of meta-issue #2002650: [meta] improve maintainability by removing unused local variables

File /core/modules/comment/lib/Drupal/comment/Entity/Comment.php

Line 342: Unused local variable $id

Files: 
CommentFileSizeAuthor
#1 drupal-core-remove-unused-local-variable-2080571.patch684 bytesmrsinguyen
PASSED: [[SimpleTest]]: [MySQL] 58,425 pass(es). View

Comments

mrsinguyen’s picture

Title: Remove Unused local variable $id from /core/modules/comment/lib/Drupal/comment/Plugin/Core/Entity/Comment.php » Remove Unused local variable $id from /core/modules/comment/lib/Drupal/comment/Entity/Comment.php
Status: Active » Needs review
FileSize
684 bytes
PASSED: [[SimpleTest]]: [MySQL] 58,425 pass(es). View
longwave’s picture

Status: Needs review » Reviewed & tested by the community
catch’s picture

Status: Reviewed & tested by the community » Fixed

Committed/pushed to 8.x, thanks!

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

Anonymous’s picture

Issue summary: View changes

Updated issue summary.