diff options
author | Avishkar Autar <aautar@digital-radiation.com> | 2016-10-09 20:01:11 -0400 |
---|---|---|
committer | Avishkar Autar <aautar@digital-radiation.com> | 2016-10-09 20:01:11 -0400 |
commit | 6905fe2fe0bcf02861b40a51f13a3d8a928ea116 (patch) | |
tree | e4b0bc24fbdf859baaace2bda4551ecaf2bd94bf | |
parent | 1f1bb72aadb99a61a51ba1c3ab7808f9ba73b2f3 (diff) | |
download | sendgrid-php-6905fe2fe0bcf02861b40a51f13a3d8a928ea116.zip sendgrid-php-6905fe2fe0bcf02861b40a51f13a3d8a928ea116.tar.gz sendgrid-php-6905fe2fe0bcf02861b40a51f13a3d8a928ea116.tar.bz2 |
PHPDocs, comments, and style fixes for SendGrid class
-rw-r--r-- | lib/SendGrid.php | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/lib/SendGrid.php b/lib/SendGrid.php index 3705719..d516cbf 100644 --- a/lib/SendGrid.php +++ b/lib/SendGrid.php @@ -18,18 +18,27 @@ class SendGrid { const VERSION = '5.1.0'; - protected - $namespace = 'SendGrid'; + /** + * + * @var string + */ + protected $namespace = 'SendGrid'; + + /** + * @var \SendGrid\Client + */ + public $client; - public - $client, - $version = self::VERSION; + /** + * @var string + */ + public $version = self::VERSION; /** * Setup the HTTP Client * * @param string $apiKey your SendGrid API Key. - * @param array $options an array of options, currenlty only "host" is implemented. + * @param array $options an array of options, currently only "host" is implemented. */ public function __construct($apiKey, $options = array()) { |