Skip to content

Commit

Permalink
Fix PHPStan: Unused variable $destination_url.
Browse files Browse the repository at this point in the history
  • Loading branch information
mstenta committed Mar 15, 2024
1 parent 3e99496 commit 486c5de
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Controller/CropPlanTimeline.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,6 @@ public function byPlantType(PlanInterface $plan) {
public function byLocation(PlanInterface $plan) {

$data = [];
$destination_url = $plan->toUrl()->toString();
/** @var \Drupal\farm_crop_plan\Bundle\CropPlantingInterface[] $crop_plantings_by_location */
$crop_plantings_by_location = $this->cropPlan->getCropPlantingsByLocation($plan);
foreach ($crop_plantings_by_location as $location_id => $crop_plantings) {
Expand Down

0 comments on commit 486c5de

Please sign in to comment.