1
0
mirror of https://github.com/Ne-Lexa/php-zip.git synced 2025-08-04 22:47:24 +02:00

Update README

This commit is contained in:
wapplay-home-linux
2017-03-15 10:42:46 +03:00
parent 0dbdc0faeb
commit 3ab98532a0
12 changed files with 228 additions and 228 deletions

View File

@@ -118,7 +118,7 @@ class ZipReadEntry extends ZipAbstractEntry
*/
public function getEntryContent()
{
if ($this->entryContent === null) {
if (null === $this->entryContent) {
if ($this->isDirectory()) {
$this->entryContent = null;
return $this->entryContent;
@@ -319,7 +319,7 @@ class ZipReadEntry extends ZipAbstractEntry
function __destruct()
{
if ($this->entryContent !== null && is_resource($this->entryContent)) {
if (null !== $this->entryContent && is_resource($this->entryContent)) {
fclose($this->entryContent);
}
}