8000 Remove "internal" annotation from datacollector serialization methods · symfony/symfony@3c8fd20 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3c8fd20

Browse files
Remove "internal" annotation from datacollector serialization methods
1 parent eb2a18e commit 3c8fd20

File tree

3 files changed

+0
-15
lines changed

3 files changed

+0
-15
lines changed

src/Symfony/Component/Form/Extension/DataCollector/FormDataCollector.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -228,9 +228,6 @@ public function getData()
228228
return $this->data;
229229
}
230230

231-
/**
232-
* @internal
233-
*/
234231
public function serialize()
235232
{
236233
if ($this->hasVarDumper) {

src/Symfony/Component/HttpKernel/DataCollector/DataCollector.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,6 @@ abstract class DataCollector implements DataCollectorInterface, \Serializable
4040
*/
4141
private $cloner;
4242

43-
/**
44-
* @internal
45-
*/
4643
public function serialize()
4744
{
4845
$trace = debug_backtrace(DEBUG_BACKTRACE_PROVIDE_OBJECT, 2);
@@ -51,9 +48,6 @@ public function serialize()
5148
return $isCalledFromOverridingMethod ? $this->data : serialize($this->data);
5249
}
5350

54-
/**
55-
* @internal
56-
*/
5751
public function unserialize($data)
5852
{
5953
$this->data = \is_array($data) ? $data : unserialize($data);

src/Symfony/Component/HttpKernel/DataCollector/DumpDataCollector.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,6 @@ public function reset()
176176
$this->clonesIndex = 0;
177177
}
178178

179-
/**
180-
* @internal
181-
*/
182179
public function serialize()
183180
{
184181
if ($this->clonesCount !== $this->clonesIndex) {
@@ -198,9 +195,6 @@ public function serialize()
198195
return $ser;
199196
}
200197

201-
/**
202-
* @internal
203-
*/
204198
public function unserialize($data)
205199
{
206200
$this->data = unserialize($data);

0 commit comments

Comments
 (0)
0