From 33a3196001a29e82f77faf8799c58c6ec3cc7579 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 19 Jul 2015 18:54:00 -0400 Subject: Fix minor issues --- app/Core/Base.php | 4 ++++ app/Core/Paginator.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'app/Core') diff --git a/app/Core/Base.php b/app/Core/Base.php index 14466d5c..3db0cf74 100644 --- a/app/Core/Base.php +++ b/app/Core/Base.php @@ -18,6 +18,9 @@ use Pimple\Container; * @property \Core\Session $session * @property \Core\Template $template * @property \Core\MemoryCache $memoryCache + * @property \Core\OAuth2 $oauth + * @property \Core\Router $router + * @property \Core\Lexer $lexer * @property \Integration\BitbucketWebhook $bitbucketWebhook * @property \Integration\GithubWebhook $githubWebhook * @property \Integration\GitlabWebhook $gitlabWebhook @@ -58,6 +61,7 @@ use Pimple\Container; * @property \Model\SubtaskTimeTracking $subtaskTimeTracking * @property \Model\Swimlane $swimlane * @property \Model\Task $task + * @property \Model\TaskAnalytic $taskAnalytic * @property \Model\TaskCreation $taskCreation * @property \Model\TaskDuplication $taskDuplication * @property \Model\TaskExport $taskExport diff --git a/app/Core/Paginator.php b/app/Core/Paginator.php index 12cc05a1..d00df7ce 100644 --- a/app/Core/Paginator.php +++ b/app/Core/Paginator.php @@ -313,7 +313,7 @@ class Paginator $this->page = 1; } - $this->offset = ($this->page - 1) * $this->limit; + $this->offset = (int) (($this->page - 1) * $this->limit); return $this; } -- cgit v1.2.3