Fix PHPStan errors (#20577)

This commit is contained in:
Maksim Spirkov
2025-10-06 14:34:14 +04:00
committed by GitHub
parent 138815a027
commit dc6f9bcb31
2 changed files with 2 additions and 2 deletions

View File

@@ -204,7 +204,7 @@ class MessageFormatter extends Component
* @param array $givenParams The array of values to insert into the format string.
* @param array $resultingParams Modified array of parameters.
* @param array $map
* @return string The pattern string with placeholders replaced.
* @return string|false The pattern string with placeholders replaced.
*/
private function replaceNamedArguments($pattern, $givenParams, &$resultingParams = [], &$map = [])
{

View File

@@ -69,7 +69,7 @@ class UploadedFile extends BaseObject
*/
private $_tempResource;
/**
* @var array[]
* @var array[]|null
*/
private static $_files;