Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Merge branch 'issue/lsb-inheritance-fix' of git://github.com/lisachen…
Browse files Browse the repository at this point in the history
…ko/zf2 into hotfix/3307

Conflicts:
	library/Zend/Ldap/Node/RootDse.php
  • Loading branch information
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Storage/Part.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ protected function _cacheContent()
}
$counter = 1;
foreach ($parts as $part) {
$this->parts[$counter++] = new self(array('headers' => $part['header'], 'content' => $part['body']));
$this->parts[$counter++] = new static(array('headers' => $part['header'], 'content' => $part['body']));
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/Storage/Part/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public function getPart($num)
throw new Exception\RuntimeException('part not found');
}

return new self(array('file' => $this->fh, 'startPos' => $this->partPos[$num][0],
return new static(array('file' => $this->fh, 'startPos' => $this->partPos[$num][0],
'endPos' => $this->partPos[$num][1]));
}
}

0 comments on commit 236674f

Please sign in to comment.