Mercurial > hg > cmmr2012-drupal-site
annotate vendor/sebastian/diff/src/LongestCommonSubsequenceCalculator.php @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | 5311817fb629 |
children |
rev | line source |
---|---|
Chris@2 | 1 <?php declare(strict_types=1); |
Chris@2 | 2 /* |
Chris@2 | 3 * This file is part of sebastian/diff. |
Chris@2 | 4 * |
Chris@2 | 5 * (c) Sebastian Bergmann <sebastian@phpunit.de> |
Chris@2 | 6 * |
Chris@2 | 7 * For the full copyright and license information, please view the LICENSE |
Chris@2 | 8 * file that was distributed with this source code. |
Chris@2 | 9 */ |
Chris@2 | 10 |
Chris@2 | 11 namespace SebastianBergmann\Diff; |
Chris@2 | 12 |
Chris@2 | 13 interface LongestCommonSubsequenceCalculator |
Chris@2 | 14 { |
Chris@2 | 15 /** |
Chris@2 | 16 * Calculates the longest common subsequence of two arrays. |
Chris@2 | 17 * |
Chris@2 | 18 * @param array $from |
Chris@2 | 19 * @param array $to |
Chris@2 | 20 * |
Chris@2 | 21 * @return array |
Chris@2 | 22 */ |
Chris@2 | 23 public function calculate(array $from, array $to): array; |
Chris@2 | 24 } |