fuel / core

Fuel PHP Framework - The core of the Fuel v1 framework
http://fuelphp.com
802 stars 335 forks source link

[php81] fix strstr string parameter #2190

Closed polmartinez closed 1 year ago

WanWizard commented 1 year ago

Given the fact strstr() wants a string, it is probably cleaner to do

$content_header = \Input::headers('Content-Type', "");

instead of casting false to string...

sonarcloud[bot] commented 1 year ago

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
3.5% 3.5% Duplication