diff options
Diffstat (limited to 'src/Components/Limit.php')
-rw-r--r-- | src/Components/Limit.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/Components/Limit.php b/src/Components/Limit.php index da4f7f7..13a1127 100644 --- a/src/Components/Limit.php +++ b/src/Components/Limit.php @@ -126,10 +126,6 @@ class Limit extends Component */ public static function build($component, array $options = array()) { - if (empty($component->offset)) { - return (string) $component->rowCount; - } else { - return $component->offset . ', ' . $component->rowCount; - } + return $component->offset . ', ' . $component->rowCount; } } |