Skip to content

Commit f60da98

Browse files
fix psalm 5.16 (remove redundant type casting)
1 parent 2ed51a9 commit f60da98

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/RobokassaApi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ private static function getUserParametersFromRequestArray(array $requestParamete
272272
{
273273
$userParameters = array_filter(
274274
$requestParameters,
275-
static fn($key) => str_starts_with(strtolower((string)$key), 'shp_'),
275+
static fn($key) => str_starts_with(strtolower($key), 'shp_'),
276276
ARRAY_FILTER_USE_KEY
277277
);
278278
$userParametersWithoutPrefix = [];

0 commit comments

Comments
 (0)