Skip to content
Snippets Groups Projects

Issue #3326359: Fix PHPStan L2 error "Binary operation "[something]" between Foo and Bar results in an error."

Issue #3326359: Fix PHPStan L2 error "Binary operation "[something]" between Foo and Bar results in an error."
1 unresolved thread
Open spokje requested to merge issue/drupal-3326359:3326359-fix-phpstan-l2 into 11.x
1 unresolved thread

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
421 421 // be sorted from small to large, since the first matching source will
422 422 // be used. We multiply it by 100 so multipliers with up to two decimals
423 423 // can be used.
424 $srcset[intval(mb_substr($multiplier, 0, -1) * 100)] = _responsive_image_image_style_url($image_style_mapping['image_mapping'], $variables['uri']) . ' ' . $multiplier;
424 /** @var int $multiplier_number */
425 $multiplier_number = ((float) mb_substr($multiplier, 0, -1)) * 100;
  • Just one question

  • Please register or sign in to reply
    Loading