summaryrefslogtreecommitdiff
path: root/vendor/sebastian/diff/src/LongestCommonSubsequenceCalculator.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/sebastian/diff/src/LongestCommonSubsequenceCalculator.php')
-rw-r--r--vendor/sebastian/diff/src/LongestCommonSubsequenceCalculator.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/vendor/sebastian/diff/src/LongestCommonSubsequenceCalculator.php b/vendor/sebastian/diff/src/LongestCommonSubsequenceCalculator.php
new file mode 100644
index 000000000..dea8fe1cb
--- /dev/null
+++ b/vendor/sebastian/diff/src/LongestCommonSubsequenceCalculator.php
@@ -0,0 +1,18 @@
+<?php declare(strict_types=1);
+/*
+ * This file is part of sebastian/diff.
+ *
+ * (c) Sebastian Bergmann <[email protected]>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+namespace SebastianBergmann\Diff;
+
+interface LongestCommonSubsequenceCalculator
+{
+ /**
+ * Calculates the longest common subsequence of two arrays.
+ */
+ public function calculate(array $from, array $to): array;
+}