projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website]
/
vendor
/
caxy
/
php-htmldiff
/
lib
/
Caxy
/
HtmlDiff
/
Match.php
diff --git
a/vendor/caxy/php-htmldiff/lib/Caxy/HtmlDiff/Match.php
b/vendor/caxy/php-htmldiff/lib/Caxy/HtmlDiff/Match.php
index c76cfba8e478114bb21859736ed0ca890ecc29d1..621e5dc70d078b32e53246c7fd85b5efc1a7495d 100644
(file)
--- a/
vendor/caxy/php-htmldiff/lib/Caxy/HtmlDiff/Match.php
+++ b/
vendor/caxy/php-htmldiff/lib/Caxy/HtmlDiff/Match.php
@@
-2,7
+2,7
@@
namespace Caxy\HtmlDiff;
-class Match
+class Match
implements \Countable
{
public $startInOld;
public $startInNew;
@@
-24,4
+24,8
@@
class Match
{
return $this->startInNew + $this->size;
}
+
+ public function count() {
+ return (int)$this->size;
+ }
}