Skip to content

Commit 1057386

Browse files
Narrow existing return types on private/internal/final/test methods
1 parent 211a7e3 commit 1057386

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

AbstractUnicodeString.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -459,10 +459,7 @@ public function width(bool $ignoreAnsiDecoration = true): int
459459
return $width;
460460
}
461461

462-
/**
463-
* @return static
464-
*/
465-
private function pad(int $len, self $pad, int $type): parent
462+
private function pad(int $len, self $pad, int $type): static
466463
{
467464
$sLen = $this->length();
468465

0 commit comments

Comments
 (0)