Simplify return statement
This commit is contained in:
parent
b77352f153
commit
5bdb3ba210
|
@ -61,11 +61,7 @@ class Gnumeric extends BaseReader
|
|||
$data = fread($fh, 2);
|
||||
fclose($fh);
|
||||
|
||||
if ($data != chr(0x1F) . chr(0x8B)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
return $data == chr(0x1F) . chr(0x8B);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue