summaryrefslogtreecommitdiffstats
path: root/src/Components/Limit.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Components/Limit.php')
-rw-r--r--src/Components/Limit.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Components/Limit.php b/src/Components/Limit.php
index 8622c96..edf663a 100644
--- a/src/Components/Limit.php
+++ b/src/Components/Limit.php
@@ -122,10 +122,11 @@ class Limit extends Component
/**
* @param Limit $component The component to be built.
+ * @param array $options Parameters for building.
*
* @return string
*/
- public static function build($component)
+ public static function build($component, array $options = array())
{
if (empty($component->offset)) {
return $component->rowCount;