Skip to content

Commit 1643f14

Browse files
committed
Add missing return
............................................________ ....................................,.-'"...................``~., .............................,.-"..................................."-., .........................,/...............................................":, .....................,?......................................................, .................../...........................................................,} ................./......................................................,:`^`..} .............../...................................................,:"........./ ..............?.....__.........................................:`.........../ ............./__.(....."~-,_..............................,:`........../ .........../(_...."~,_........"~,_....................,:`........_/ ..........{.._$;_......"=,_......."-,_.......,.-~-,},.~";/....} ...........((.....*~_......."=-._......";,,./`..../"............../ ...,,,___.`~,......"~.,....................`.....}............../ ............(....`=-,,.......`........................(......;_,,-" ............/.`~,......`-...................................../ .............`~.*-,.....................................|,./.....,__ ,,_..........}.>-._...................................|..............`=~-, .....`=~-,__......`,................................. ...................`=~-,,.,............................... ................................`:,,...........................`..............__ .....................................`=-,...................,%`>--==`` ........................................_..........._,-%.......` ...................................,
1 parent 6c39f4d commit 1643f14

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Type/Accessory/AccessoryNumericStringType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ public function toArrayKey(): Type
217217
{
218218
$level = ReportUnsafeArrayStringKeyCastingToggle::getLevel();
219219
if ($level !== ReportUnsafeArrayStringKeyCastingToggle::PREVENT) {
220-
new UnionType([
220+
return new UnionType([
221221
new IntegerType(),
222222
new IntersectionType([
223223
new StringType(),

0 commit comments

Comments
 (0)