Skip to content

Commit 73ff674

Browse files
committed
fix: error message
1 parent e4592d1 commit 73ff674

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Facebook.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ public function __construct(array $config = [])
124124
throw new SDKException('Required "app_secret" key not supplied in config and could not find fallback environment variable "'.static::APP_SECRET_ENV_NAME.'"');
125125
}
126126
if ($config['http_client'] !== null && !$config['http_client'] instanceof ClientInterface) {
127-
throw new \InvalidArgumentException('Required "http_client" key to be null or an instance of \Http\Client\HttpClient');
127+
throw new \InvalidArgumentException('Required "http_client" key to be null or an instance of \Psr\Http\Client\ClientInterface');
128128
}
129129
if (!$config['default_graph_version']) {
130130
throw new \InvalidArgumentException('Required "default_graph_version" key not supplied in config');

0 commit comments

Comments
 (0)