@@ -29,6 +29,10 @@ discard block |
||
| 29 | 29 | $this->call = 0; |
| 30 | 30 | } |
| 31 | 31 | |
| 32 | + /** |
|
| 33 | + * @param string $method |
|
| 34 | + * @param string $path |
|
| 35 | + */ |
|
| 32 | 36 | protected function mockRequest($method, $path, $params = array(), $return = array('id' => 'myId'), $rcode = 200) |
| 33 | 37 | { |
| 34 | 38 | $mock = $this->setUpMockRequest(); |
@@ -146,6 +150,7 @@ discard block |
||
| 146 | 150 | /** |
| 147 | 151 | * Verify that a plan with a given ID exists, or create a new one if it does |
| 148 | 152 | * not. |
| 153 | + * @param string $id |
|
| 149 | 154 | */ |
| 150 | 155 | protected static function retrieveOrCreatePlan($id) |
| 151 | 156 | { |
@@ -169,6 +174,7 @@ discard block |
||
| 169 | 174 | /** |
| 170 | 175 | * Verify that a coupon with a given ID exists, or create a new one if it |
| 171 | 176 | * does not. |
| 177 | + * @param string $id |
|
| 172 | 178 | */ |
| 173 | 179 | protected static function retrieveOrCreateCoupon($id) |
| 174 | 180 | { |
@@ -209,6 +215,9 @@ discard block |
||
| 209 | 215 | return self::generateRandomString().'@'.$domain; |
| 210 | 216 | } |
| 211 | 217 | |
| 218 | + /** |
|
| 219 | + * @param string $email |
|
| 220 | + */ |
|
| 212 | 221 | protected static function createTestBitcoinReceiver($email) |
| 213 | 222 | { |
| 214 | 223 | $receiver = BitcoinReceiver::create( |
@@ -46,7 +46,7 @@ |
||
| 46 | 46 | * @param string $filename |
| 47 | 47 | * @param string $contentType |
| 48 | 48 | * |
| 49 | - * @return Swift_Mime_Attachment |
|
| 49 | + * @return Swift_Mime_MimeEntity |
|
| 50 | 50 | */ |
| 51 | 51 | public static function newInstance($data = null, $filename = null, $contentType = null) |
| 52 | 52 | { |
@@ -266,6 +266,10 @@ |
||
| 266 | 266 | $this->_array_size = 0; |
| 267 | 267 | } |
| 268 | 268 | |
| 269 | + /** |
|
| 270 | + * @param resource $fp |
|
| 271 | + * @param integer $len |
|
| 272 | + */ |
|
| 269 | 273 | private function _reloadBuffer($fp, $len) |
| 270 | 274 | { |
| 271 | 275 | if (!feof($fp) && ($bytes = fread($fp, $len)) !== false) { |
@@ -26,6 +26,7 @@ |
||
| 26 | 26 | * Prevent this Event from bubbling any further up the stack. |
| 27 | 27 | * |
| 28 | 28 | * @param bool $cancel, optional |
| 29 | + * @return void |
|
| 29 | 30 | */ |
| 30 | 31 | public function cancelBubble($cancel = true); |
| 31 | 32 | |
@@ -305,6 +305,10 @@ |
||
| 305 | 305 | return $this->_keys[$nsKey][$itemKey]; |
| 306 | 306 | } |
| 307 | 307 | |
| 308 | + /** |
|
| 309 | + * @param string $nsKey |
|
| 310 | + * @param string $itemKey |
|
| 311 | + */ |
|
| 308 | 312 | private function _freeHandle($nsKey, $itemKey) |
| 309 | 313 | { |
| 310 | 314 | $fp = $this->_getHandle($nsKey, $itemKey, self::POSITION_CURRENT); |
@@ -78,7 +78,7 @@ |
||
| 78 | 78 | /** |
| 79 | 79 | * Add a MimePart to this Message. |
| 80 | 80 | * |
| 81 | - * @param string|Swift_OutputByteStream $body |
|
| 81 | + * @param string $body |
|
| 82 | 82 | * @param string $contentType |
| 83 | 83 | * @param string $charset |
| 84 | 84 | * |
@@ -33,8 +33,6 @@ |
||
| 33 | 33 | /** |
| 34 | 34 | * Encode stream $in to stream $out. |
| 35 | 35 | * |
| 36 | - * @param Swift_OutputByteStream $in |
|
| 37 | - * @param Swift_InputByteStream $out |
|
| 38 | 36 | * @param int $firstLineOffset ignored |
| 39 | 37 | * @param int $maxLineLength ignored |
| 40 | 38 | */ |
@@ -275,7 +275,7 @@ discard block |
||
| 275 | 275 | * |
| 276 | 276 | * @param Swift_Mime_Header $header |
| 277 | 277 | * @param string $input |
| 278 | - * @param string $usedLength optional |
|
| 278 | + * @param integer $usedLength optional |
|
| 279 | 279 | * |
| 280 | 280 | * @return string |
| 281 | 281 | */ |
@@ -316,7 +316,7 @@ discard block |
||
| 316 | 316 | * |
| 317 | 317 | * @param string $token |
| 318 | 318 | * |
| 319 | - * @return bool |
|
| 319 | + * @return integer |
|
| 320 | 320 | */ |
| 321 | 321 | protected function tokenNeedsEncoding($token) |
| 322 | 322 | { |
@@ -70,7 +70,7 @@ discard block |
||
| 70 | 70 | * |
| 71 | 71 | * @throws Swift_RfcComplianceException |
| 72 | 72 | * |
| 73 | - * @return array |
|
| 73 | + * @return string[] |
|
| 74 | 74 | */ |
| 75 | 75 | public function getFieldBodyModel() |
| 76 | 76 | { |
@@ -196,7 +196,7 @@ discard block |
||
| 196 | 196 | * |
| 197 | 197 | * @see getNameAddresses() |
| 198 | 198 | * |
| 199 | - * @return string[] |
|
| 199 | + * @return integer[] |
|
| 200 | 200 | */ |
| 201 | 201 | public function getAddresses() |
| 202 | 202 | { |