Skip to content

Commit 7e480bc

Browse files
committed
Merge pull request google#71 from redian/patch-1
Remove unnecessary else statement
2 parents 2b7e005 + c51e048 commit 7e480bc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/ReCaptcha/RequestMethod/Socket.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,8 @@ public function fsockopen($hostname, $port = -1, &$errno = 0, &$errstr = '', $ti
5151

5252
if ($this->handle != false && $errno === 0 && $errstr === '') {
5353
return $this->handle;
54-
} else {
55-
return false;
5654
}
55+
return false;
5756
}
5857

5958
/**

0 commit comments

Comments
 (0)