@@ -95,7 +95,7 @@ discard block |
||
| 95 | 95 | } |
| 96 | 96 | |
| 97 | 97 | /** |
| 98 | - * @param $plugin |
|
| 98 | + * @param string $plugin |
|
| 99 | 99 | * @return string |
| 100 | 100 | */ |
| 101 | 101 | public function setPlugin($plugin) |
@@ -104,7 +104,7 @@ discard block |
||
| 104 | 104 | } |
| 105 | 105 | |
| 106 | 106 | /** |
| 107 | - * @param $useSSL |
|
| 107 | + * @param boolean $useSSL |
|
| 108 | 108 | * @return bool |
| 109 | 109 | */ |
| 110 | 110 | public function setSSL($useSSL) |
@@ -143,7 +143,7 @@ discard block |
||
| 143 | 143 | } |
| 144 | 144 | |
| 145 | 145 | /** |
| 146 | - * @param $bool |
|
| 146 | + * @param boolean $bool |
|
| 147 | 147 | * @return string |
| 148 | 148 | */ |
| 149 | 149 | public function setDebug($bool) |
@@ -228,7 +228,7 @@ discard block |
||
| 228 | 228 | |
| 229 | 229 | /** |
| 230 | 230 | * Returns the headers to be sent to web service |
| 231 | - * @return array |
|
| 231 | + * @return string[] |
|
| 232 | 232 | * @throws \Exception |
| 233 | 233 | */ |
| 234 | 234 | public function getHeaders() |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | |
| 14 | 14 | namespace Gnello\OpenFireRestAPI\Settings; |
| 15 | 15 | |
| 16 | -use Gnello\OpenFireRestAPI\AuthenticationToken; |
|
| 16 | +use Gnello\OpenFireRestAPI\AuthenticationToken; |
|
| 17 | 17 | use Gnello\OpenFireRestAPI\Wrappers\AbstractRegistryWrapper; |
| 18 | 18 | |
| 19 | 19 | /** |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | $this->assertFalse(SubscriptionType::isValid(4)); |
| 35 | 35 | $this->assertFalse(SubscriptionType::isValid(-1)); |
| 36 | 36 | $this->assertFalse(SubscriptionType::isValid('test'));
|
| 37 | - $this->assertFalse(SubscriptionType::isValid(array(1,2))); |
|
| 37 | + $this->assertFalse(SubscriptionType::isValid(array(1, 2))); |
|
| 38 | 38 | $this->assertFalse(SubscriptionType::isValid(true)); |
| 39 | 39 | } |
| 40 | 40 | } |
| 41 | 41 | \ No newline at end of file |