mirror of
https://github.com/wiosna-dev/common-library.git
synced 2026-03-12 01:31:45 +01:00
Reformat code
This commit is contained in:
@@ -729,7 +729,7 @@ class Miscellaneous
|
||||
*/
|
||||
public static function isDecimal($value)
|
||||
{
|
||||
return is_scalar($value) && is_numeric($value)&&floor($value) !== (float)$value;
|
||||
return is_scalar($value) && is_numeric($value) && floor($value) !== (float) $value;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -75,7 +75,7 @@ class Template
|
||||
|
||||
if (isset($values[$placeholderName])) {
|
||||
$value = $values[$placeholderName];
|
||||
$result = str_replace($placeholder, (string)$value, $result);
|
||||
$result = str_replace($placeholder, (string) $value, $result);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user