Simplify return statement

This commit is contained in:
Alessandro Lai 2017-12-22 10:24:46 +01:00 committed by Adrien Crivelli
parent b77352f153
commit 5bdb3ba210
No known key found for this signature in database
GPG Key ID: B182FD79DC6DE92E
1 changed files with 1 additions and 5 deletions

View File

@ -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;
} }
/** /**