Skip to content

Commit 34267d7

Browse files
feature #50842 Add missing return types to magic methods (wouterj)
This PR was merged into the 6.4 branch. Discussion ---------- Add missing return types to magic methods | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | no | New feature? | no | Deprecations? | yes | Tickets | - | License | MIT | Doc PR | - I promise, these 72 methods really are the last methods that did not have a return type already 🙃 Commits ------- 6b270010c4 Add missing return types to magic methods
2 parents 98d2c32 + 4d37f97 commit 34267d7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

UnicodeString.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,9 @@ public function startsWith(string|iterable|AbstractString $prefix): bool
338338
return $prefix === grapheme_extract($this->string, \strlen($prefix), \GRAPHEME_EXTR_MAXBYTES);
339339
}
340340

341+
/**
342+
* @return void
343+
*/
341344
public function __wakeup()
342345
{
343346
if (!\is_string($this->string)) {

0 commit comments

Comments
 (0)