Skip to content

Commit d61a8ff

Browse files
Merge branch '6.4' into 7.0
* 6.4: Add missing return types to magic methods
2 parents 973ec74 + 4218bb1 commit d61a8ff

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

DataCollector/DataCollector.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ public function __sleep(): array
8282
return ['data'];
8383
}
8484

85+
/**
86+
* @return void
87+
*/
8588
public function __wakeup()
8689
{
8790
}

DataCollector/DumpDataCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ public function __sleep(): array
167167
/**
168168
* @internal
169169
*/
170-
public function __wakeup()
170+
public function __wakeup(): void
171171
{
172172
parent::__wakeup();
173173

Kernel.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -819,6 +819,9 @@ public function __sleep(): array
819819
return ['environment', 'debug'];
820820
}
821821

822+
/**
823+
* @return void
824+
*/
822825
public function __wakeup()
823826
{
824827
if (\is_object($this->environment) || \is_object($this->debug)) {

0 commit comments

Comments
 (0)