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

Commit

Permalink
Merge branch 'hotfix/3307' into develop
Browse files Browse the repository at this point in the history
Forward port zendframework/zendframework#3307

Conflicts:
	library/Zend/Code/Generator/DocBlock/Tag/LicenseTag.php
	library/Zend/Code/Generator/DocBlock/Tag/ParamTag.php
	library/Zend/Code/Generator/DocBlock/Tag/ReturnTag.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 d550f51

Please sign in to comment.