Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
richardDobron authored and github-actions[bot] committed Nov 3, 2023
1 parent 33cf9fd commit 1a2bae3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/fbt/Transform/FbtTransform/FbtUtils.php
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ public static function getVariationValue($moduleName, $variationName, $variation
"$moduleName.param's number option should be an expression or 'true'"
);
}

// For number="true" we don't pass additional value.
return null;
}
Expand Down Expand Up @@ -428,6 +429,7 @@ public static function substituteTokens($template, $_args)
if (is_object($argument)) {
$objectPieces[] = $argument;
$argNames[] = $parameter;

// End of Transmission Block sentinel marker
return "\x17" . $punctuation;
} elseif ($argument === null) {
Expand Down
3 changes: 2 additions & 1 deletion src/fbt/Transform/FbtTransform/fbtHash.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ function (string $h) {
str_split(hash("tiger192,3", $input, true), 8)
)
),
0, 48 - (192 - $digestBitLen) / 4
0,
48 - (192 - $digestBitLen) / 4
);
}
}
1 change: 1 addition & 0 deletions src/fbt/Util/SimpleHtmlDom/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -1082,6 +1082,7 @@ public function __isset($name)
case 'innertext': return true;
case 'plaintext': return true;
}

//no value attr: nowrap, checked selected...
return (array_key_exists($name, $this->attr)) ? true : isset($this->attr[$name]);
}
Expand Down

0 comments on commit 1a2bae3

Please sign in to comment.