File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ public static function extremeIdentity(self ...$operands): self
107
107
}
108
108
}
109
109
110
- return new self ($ result , $ reasons );
110
+ return new self ($ result , array_values ( array_unique ( $ reasons)) );
111
111
}
112
112
113
113
public static function maxMin (self ...$ operands ): self
@@ -124,7 +124,7 @@ public static function maxMin(self ...$operands): self
124
124
}
125
125
}
126
126
127
- return new self ($ result , $ reasons );
127
+ return new self ($ result , array_values ( array_unique ( $ reasons)) );
128
128
}
129
129
130
130
}
Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ private static function mergeReasons(array $operands): array
158
158
}
159
159
}
160
160
161
- return $ reasons ;
161
+ return array_values ( array_unique ( $ reasons)) ;
162
162
}
163
163
164
164
}
You can’t perform that action at this time.
0 commit comments