@@ -81,6 +81,9 @@ |
||
| 81 | 81 | return $opts; |
| 82 | 82 | } |
| 83 | 83 | |
| 84 | + /** |
|
| 85 | + * @param string $iam_url |
|
| 86 | + */ |
|
| 84 | 87 | private function getAccessData($iam_role, $iam_url) |
| 85 | 88 | { |
| 86 | 89 | /* grab the access and secret key from the iam role "aws-opsworks-ec2-role" */ |
@@ -95,7 +95,7 @@ discard block |
||
| 95 | 95 | |
| 96 | 96 | /** |
| 97 | 97 | * Get a list of queue attributes |
| 98 | - * @param array $attributes An array of queue attribute names |
|
| 98 | + * @param string[] $attributes An array of queue attribute names |
|
| 99 | 99 | * @return array An array of specified queue attributes with keys as attribute names |
| 100 | 100 | */ |
| 101 | 101 | public function getQueueAttributes($attributes) |
@@ -135,6 +135,9 @@ discard block |
||
| 135 | 135 | return $this->data; |
| 136 | 136 | } |
| 137 | 137 | |
| 138 | + /** |
|
| 139 | + * @param string $key |
|
| 140 | + */ |
|
| 138 | 141 | public function get($key) |
| 139 | 142 | { |
| 140 | 143 | return $this->data[$key]; |