mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-07 17:04:30 +02:00
Added declare strict types to all files
This commit is contained in:
parent
bea90a7d94
commit
6a2ff9d153
196 changed files with 685 additions and 360 deletions
|
@ -97,7 +97,7 @@ class ParameterExtractor
|
|||
$value = trim($value);
|
||||
|
||||
//Don't allow empty names or values (these are a sign of an invalid extracted string)
|
||||
if (empty($name) || empty($value)) {
|
||||
if ($name === '' || $value === '') {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue