We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10e9ec0 commit 8d300a0Copy full SHA for 8d300a0
1 file changed
lib/Horde/Core/Factory/HashTable.php
@@ -75,8 +75,8 @@ public function create(Horde_Injector $injector)
75
case 'tcp':
76
foreach ($params['hostspec'] as $key => $val) {
77
$redis_params[] = array_merge($common, array_filter([
78
- 'host' => trim($val),
79
- 'port' => isset($params['port'][$key]) ? trim($params['port'][$key]) : null,
+ 'host' => trim((string) $val),
+ 'port' => isset($params['port'][$key]) ? trim((string) $params['port'][$key]) : null,
80
'scheme' => 'tcp',
81
]));
82
}
0 commit comments