Version 1
[yaffs-website] / vendor / caxy / php-htmldiff / lib / Caxy / HtmlDiff / Strategy / EqualMatchStrategy.php
diff --git a/vendor/caxy/php-htmldiff/lib/Caxy/HtmlDiff/Strategy/EqualMatchStrategy.php b/vendor/caxy/php-htmldiff/lib/Caxy/HtmlDiff/Strategy/EqualMatchStrategy.php
new file mode 100644 (file)
index 0000000..3cea8cf
--- /dev/null
@@ -0,0 +1,17 @@
+<?php
+
+namespace Caxy\HtmlDiff\Strategy;
+
+class EqualMatchStrategy implements MatchStrategyInterface
+{
+    /**
+     * @param string $a
+     * @param string $b
+     *
+     * @return bool
+     */
+    public function isMatch($a, $b)
+    {
+        return $a === $b;
+    }
+}