|
@@ -96,7 +96,7 @@ discard block |
|
|
block discarded – undo |
|
96
|
96
|
return true; |
|
97
|
97
|
} |
|
98
|
98
|
|
|
99
|
|
- return ($value == (string)(float) $value); |
|
|
99
|
+ return ($value == (string) (float) $value); |
|
100
|
100
|
} |
|
101
|
101
|
|
|
102
|
102
|
/** |
|
@@ -207,8 +207,8 @@ discard block |
|
|
block discarded – undo |
|
207
|
207
|
|
|
208
|
208
|
// string before |
|
209
|
209
|
$before = (count($left) > $length) ? $affix.implode("", array_slice($left, -$length)) : implode("", $left); |
|
210
|
|
- $after = (count($right) > $length) ? implode("", array_slice($right, 0, $length)) . $affix : implode("", $right); |
|
|
210
|
+ $after = (count($right) > $length) ? implode("", array_slice($right, 0, $length)).$affix : implode("", $right); |
|
211
|
211
|
|
|
212
|
|
- return $before . $word . $after; |
|
|
212
|
+ return $before.$word.$after; |
|
213
|
213
|
} |
|
214
|
214
|
} |
Please login to merge, or discard this patch.