Skip to content

Conversation

@iamgurjitsingh
Copy link
Contributor

Replace loose equality (==) with strict equality (===) when comparing
filter values in all chart widgets. This improves type safety and
follows PHP best practices.

Changed in 6 widget files:

  • RecentDownloadChartWidget
  • RecentUploadChartWidget
  • RecentPingChartWidget
  • RecentJitterChartWidget
  • RecentDownloadLatencyChartWidget
  • RecentUploadLatencyChartWidget

@iamgurjitsingh iamgurjitsingh marked this pull request as draft December 5, 2025 22:50
@iamgurjitsingh iamgurjitsingh force-pushed the refactor/use-strict-comparison-in-chart-widgets branch from a260946 to 21975cd Compare December 5, 2025 22:54
Replace loose equality (==) with strict equality (===) when comparing
filter values in all chart widgets. This improves type safety and
follows PHP best practices.

Changed in 6 widget files:
- RecentDownloadChartWidget
- RecentUploadChartWidget
- RecentPingChartWidget
- RecentJitterChartWidget
- RecentDownloadLatencyChartWidget
- RecentUploadLatencyChartWidget
@iamgurjitsingh iamgurjitsingh force-pushed the refactor/use-strict-comparison-in-chart-widgets branch from 21975cd to b3cee4b Compare December 5, 2025 22:55
@iamgurjitsingh iamgurjitsingh marked this pull request as ready for review December 5, 2025 22:58
@alexjustesen alexjustesen merged commit bc0064a into alexjustesen:main Dec 6, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants