Skip to content

Commit

Permalink
Remove "internal" annotation from datacollector serialization methods
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-grekas committed Feb 8, 2019
1 parent eb2a18e commit 3c8fd20
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 15 deletions.
Expand Up @@ -228,9 +228,6 @@ public function getData()
return $this->data;
}

/**
* @internal
*/
public function serialize()
{
if ($this->hasVarDumper) {
Expand Down
Expand Up @@ -40,9 +40,6 @@ abstract class DataCollector implements DataCollectorInterface, \Serializable
*/
private $cloner;

/**
* @internal
*/
public function serialize()
{
$trace = debug_backtrace(DEBUG_BACKTRACE_PROVIDE_OBJECT, 2);
Expand All @@ -51,9 +48,6 @@ public function serialize()
return $isCalledFromOverridingMethod ? $this->data : serialize($this->data);
}

/**
* @internal
*/
public function unserialize($data)
{
$this->data = \is_array($data) ? $data : unserialize($data);
Expand Down
Expand Up @@ -176,9 +176,6 @@ public function reset()
$this->clonesIndex = 0;
}

/**
* @internal
*/
public function serialize()
{
if ($this->clonesCount !== $this->clonesIndex) {
Expand All @@ -198,9 +195,6 @@ public function serialize()
return $ser;
}

/**
* @internal
*/
public function unserialize($data)
{
$this->data = unserialize($data);
Expand Down

0 comments on commit 3c8fd20

Please sign in to comment.