diff options
-rw-r--r-- | app/Core/Base.php | 3 | ||||
-rw-r--r-- | app/Core/HttpClient.php | 18 | ||||
-rw-r--r-- | app/Core/Template.php | 4 | ||||
-rw-r--r-- | app/Model/Notification.php | 2 | ||||
-rw-r--r-- | app/Model/TaskFilter.php | 2 |
5 files changed, 15 insertions, 14 deletions
diff --git a/app/Core/Base.php b/app/Core/Base.php index 6cb87cbc..d4d7faa3 100644 --- a/app/Core/Base.php +++ b/app/Core/Base.php @@ -17,6 +17,7 @@ use Pimple\Container; * @property \Core\Request $request * @property \Core\Session $session * @property \Core\Template $template + * @property \Core\MemoryCache $memoryCache * @property \Integration\BitbucketWebhook $bitbucketWebhook * @property \Integration\GithubWebhook $githubWebhook * @property \Integration\GitlabWebhook $gitlabWebhook @@ -24,7 +25,7 @@ use Pimple\Container; * @property \Integration\Jabber $jabber * @property \Integration\Mailgun $mailgun * @property \Integration\Postmark $postmark - * @property \Integration\SendgridWebhook $sendgridWebhook + * @property \Integration\Sendgrid $sendgrid * @property \Integration\SlackWebhook $slackWebhook * @property \Integration\Smtp $smtp * @property \Model\Acl $acl diff --git a/app/Core/HttpClient.php b/app/Core/HttpClient.php index 2f280a1e..805c1e5a 100644 --- a/app/Core/HttpClient.php +++ b/app/Core/HttpClient.php @@ -35,9 +35,9 @@ class HttpClient extends Base * Send a POST HTTP request encoded in JSON * * @access public - * @param string $url - * @param array $data - * @param array $headers + * @param string $url + * @param array $data + * @param string[] $headers * @return string */ public function postJson($url, array $data, array $headers = array()) @@ -53,9 +53,9 @@ class HttpClient extends Base * Send a POST HTTP request encoded in www-form-urlencoded * * @access public - * @param string $url - * @param array $data - * @param array $headers + * @param string $url + * @param array $data + * @param string[] $headers * @return string */ public function postForm($url, array $data, array $headers = array()) @@ -71,9 +71,9 @@ class HttpClient extends Base * Make the HTTP request * * @access private - * @param string $url - * @param array $content - * @param array $headers + * @param string $url + * @param string $content + * @param string[] $headers * @return string */ private function doRequest($url, $content, array $headers) diff --git a/app/Core/Template.php b/app/Core/Template.php index 9688c2a5..ba869ee6 100644 --- a/app/Core/Template.php +++ b/app/Core/Template.php @@ -27,8 +27,8 @@ class Template extends Helper * $template->render('template_name', ['bla' => 'value']); * * @access public - * @params string $__template_name Template name - * @params array $__template_args Key/Value map of template variables + * @param string $__template_name Template name + * @param array $__template_args Key/Value map of template variables * @return string */ public function render($__template_name, array $__template_args = array()) diff --git a/app/Model/Notification.php b/app/Model/Notification.php index ec349681..6a50f7ba 100644 --- a/app/Model/Notification.php +++ b/app/Model/Notification.php @@ -229,7 +229,7 @@ class Notification extends Base * * @access public * @param integer $project_id Project id - * @param array $exclude_user_id User id to exclude + * @param integer $exclude_user_id User id to exclude * @return array */ public function getUsersWithNotificationEnabled($project_id, $exclude_user_id = 0) diff --git a/app/Model/TaskFilter.php b/app/Model/TaskFilter.php index 134f67cd..3d58c060 100644 --- a/app/Model/TaskFilter.php +++ b/app/Model/TaskFilter.php @@ -247,7 +247,7 @@ class TaskFilter extends Base * * @access public * @param string $start - * @param strings $end + * @param string $end * @return TaskFilter */ public function filterByStartDateRange($start, $end) |