We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b894e5 commit 7417022Copy full SHA for 7417022
src/OneTimeOperationManager.php
@@ -151,7 +151,9 @@ public static function getOperationPaths()
151
*/
152
public static function loadOperationsFrom($paths)
153
{
154
- self::$paths = array_merge(self::$paths, (array)$paths);
+ self::$paths = array_unique(
155
+ array_merge(self::$paths, (array)$paths)
156
+ );
157
}
158
159
public static function getOperationNameFromFilename(string $filename): string
0 commit comments