summaryrefslogtreecommitdiffstats
path: root/src/Components
diff options
context:
space:
mode:
Diffstat (limited to 'src/Components')
-rw-r--r--src/Components/Limit.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/Components/Limit.php b/src/Components/Limit.php
index f69531f..743fa98 100644
--- a/src/Components/Limit.php
+++ b/src/Components/Limit.php
@@ -127,10 +127,6 @@ class Limit extends Component
*/
public static function build($component, array $options = array())
{
- if (count($component->offset) === 0) {
- return (string) $component->rowCount;
- } else {
- return $component->offset . ', ' . $component->rowCount;
- }
+ return $component->offset . ', ' . $component->rowCount;
}
}