Skip to content
Snippets Groups Projects
Commit fea1f68f authored by Stanley Cheung's avatar Stanley Cheung
Browse files

php: fixed constant typo

parent 2461bf67
No related branches found
No related tags found
No related merge requests found
......@@ -110,10 +110,10 @@ class BaseStub {
}
private function _checkConnectivityState($new_state) {
if ($new_state == Grpc\CHANNEL_READY) {
if ($new_state == \Grpc\CHANNEL_READY) {
return true;
}
if ($new_state == Grpc\CHANNEL_FATAL_ERROR) {
if ($new_state == \Grpc\CHANNEL_FATAL_FAILURE) {
throw new Exception('Failed to connect to server');
}
return false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment