Fix phpdoc comments
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user