code refactoring
- improved comparing & checking - improved string composition
This commit is contained in:
@ -55,7 +55,7 @@ abstract class FileUtil {
|
||||
if ($info['timed_out'] || !$buffer) {
|
||||
return null;
|
||||
}
|
||||
if (substr($buffer, 9, 3) != '200') {
|
||||
if (substr($buffer, 9, 3) !== '200') {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user