Skip to content

Commit

Permalink
Merge branch 'hotfix/5.0.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaelcom committed Feb 9, 2021
2 parents 195c3bf + 0131167 commit 3575e50
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# CHANGELOG

## 5.0.1 - 2021/02/09
- Remove trigger_error calls since this is version 5.0 :)

## 5.0.0 - 2021/02/05
- Issue #13 - Auto initialize AbstractStructArrayBase::internArray
- BC: read [UPGRADE-5.0.md](/UPGRADE-5.0.md)
Expand Down
14 changes: 0 additions & 14 deletions src/AbstractStructArrayBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,6 @@ public function offsetUnset($offset): self
*/
private function getInternArray(): array
{
@trigger_error(sprintf('%s() will be private in WsdlToPhp/PackageBase 5.0.', __METHOD__), E_USER_DEPRECATED);

return $this->internArray;
}

Expand All @@ -233,8 +231,6 @@ private function getInternArray(): array
*/
private function setInternArray(array $internArray): self
{
@trigger_error(sprintf('%s() will be private in WsdlToPhp/PackageBase 5.0.', __METHOD__), E_USER_DEPRECATED);

$this->internArray = $internArray;

return $this;
Expand All @@ -246,8 +242,6 @@ private function setInternArray(array $internArray): self
*/
private function getInternArrayOffset(): int
{
@trigger_error(sprintf('%s() will be private in WsdlToPhp/PackageBase 5.0.', __METHOD__), E_USER_DEPRECATED);

return $this->internArrayOffset;
}

Expand All @@ -259,8 +253,6 @@ private function getInternArrayOffset(): int
*/
private function initInternArray(array $array = [], bool $internCall = false): self
{
@trigger_error(sprintf('%s() will be private in WsdlToPhp/PackageBase 5.0.', __METHOD__), E_USER_DEPRECATED);

if (is_array($array) && count($array) > 0) {
$this
->setInternArray($array)
Expand All @@ -280,8 +272,6 @@ private function initInternArray(array $array = [], bool $internCall = false): s
*/
private function setInternArrayOffset(int $internArrayOffset): self
{
@trigger_error(sprintf('%s() will be private in WsdlToPhp/PackageBase 5.0.', __METHOD__), E_USER_DEPRECATED);

$this->internArrayOffset = $internArrayOffset;

return $this;
Expand All @@ -293,8 +283,6 @@ private function setInternArrayOffset(int $internArrayOffset): self
*/
private function getInternArrayIsArray(): bool
{
@trigger_error(sprintf('%s() will be private in WsdlToPhp/PackageBase 5.0.', __METHOD__), E_USER_DEPRECATED);

return $this->internArrayIsArray;
}

Expand All @@ -305,8 +293,6 @@ private function getInternArrayIsArray(): bool
*/
private function setInternArrayIsArray(bool $internArrayIsArray = false): self
{
@trigger_error(sprintf('%s() will be private in WsdlToPhp/PackageBase 5.0.', __METHOD__), E_USER_DEPRECATED);

$this->internArrayIsArray = $internArrayIsArray;

return $this;
Expand Down

0 comments on commit 3575e50

Please sign in to comment.