- Removes space between (int) and variable

This commit is contained in:
Vlad
2016-05-18 09:23:50 -04:00
parent 8540c51679
commit bf1ab3a593
17 changed files with 31 additions and 31 deletions

View File

@@ -43,8 +43,8 @@ class Button {
static function calculateWidth($element, $column_count) {
$column_width = ColumnsHelper::columnWidth($column_count);
$column_width = $column_width - (StylesHelper::$padding_width * 2);
$border_width = (int) $element['styles']['block']['borderWidth'];
$button_width = (int) $element['styles']['block']['width'];
$border_width = (int)$element['styles']['block']['borderWidth'];
$button_width = (int)$element['styles']['block']['width'];
$button_width = ($button_width > $column_width) ?
$column_width :
$button_width;