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