我定义了一个这样的函数:
private function mediaExist(string $entry) { ...
我收到这种类型的错误:
... must be an instance of string, string given, called in ...
有什么帮助吗?
php types
php ×1
types ×1