private function UploadedFile::isStringOrNull in Lockr 7.3
Parameters
mixed $param:
Return value
boolean
2 calls to UploadedFile::isStringOrNull()
- UploadedFile::setClientFilename in vendor/
guzzlehttp/ psr7/ src/ UploadedFile.php - UploadedFile::setClientMediaType in vendor/
guzzlehttp/ psr7/ src/ UploadedFile.php
File
- vendor/
guzzlehttp/ psr7/ src/ UploadedFile.php, line 145
Class
Namespace
GuzzleHttp\Psr7Code
private function isStringOrNull($param) {
return in_array(gettype($param), [
'string',
'NULL',
]);
}