You are here

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

UploadedFile

Namespace

GuzzleHttp\Psr7

Code

private function isStringOrNull($param) {
  return in_array(gettype($param), [
    'string',
    'NULL',
  ]);
}