| 1 | <?php | ||
| 16 | class EbayEnterprise_Tax_Test_Helper_FactoryTest extends EcomDev_PHPUnit_Test_Case | ||
| 17 | { | ||
| 18 | /** | ||
| 19 | * Test constructing a new tax record. | ||
| 20 | * | ||
| 21 | * @param int $taxSource Should be one of the tax record source consts. | ||
|  | |||
| 22 | * @param int | ||
| 23 | * @param int | ||
| 24 | * @param int|null $itemId Address level taxes may not have an associated item id. | ||
| 25 | * @param ITax $taxPayload|null SDK payload of tax data to use to populate the tax record. | ||
| 26 | * @param array $recordData Tax record data to be set directly on the tax record. May be used in place of an ITax payload. | ||
| 27 | * @return EbayEnterprise_Tax_Model_Record | ||
| 28 | */ | ||
| 29 | public function testCreateTaxRecord() | ||
| 35 | } | ||
| 36 | 
This check looks for PHPDoc comments describing methods or function parameters that do not exist on the corresponding method or function.
Consider the following example. The parameter
$italyis not defined by the methodfinale(...).The most likely cause is that the parameter was removed, but the annotation was not.