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