@@ -210,7 +210,7 @@ |
||
210 | 210 | * to request the report identifier. The identifier is used to check report generation status |
211 | 211 | * before downloading the report. |
212 | 212 | * |
213 | - * @param mixed $report |
|
213 | + * @param ReportRequest $report |
|
214 | 214 | * @param string $name |
215 | 215 | * |
216 | 216 | * @return string ReportRequestId |
@@ -279,7 +279,7 @@ |
||
279 | 279 | } |
280 | 280 | |
281 | 281 | /** |
282 | - * @param $code |
|
282 | + * @param integer $code |
|
283 | 283 | * @return SoapFault |
284 | 284 | */ |
285 | 285 | private function generateSoapFault($code) |
@@ -11,7 +11,6 @@ discard block |
||
11 | 11 | use Mockery; |
12 | 12 | use PHPUnit_Framework_TestCase; |
13 | 13 | use SoapFault; |
14 | -use stdClass; |
|
15 | 14 | use Symfony\Component\Filesystem\Filesystem; |
16 | 15 | use Werkspot\BingAdsApiBundle\Api\Client; |
17 | 16 | use Werkspot\BingAdsApiBundle\Api\Exceptions; |
@@ -20,6 +19,7 @@ discard block |
||
20 | 19 | use Werkspot\BingAdsApiBundle\Guzzle\OauthTokenService; |
21 | 20 | use Werkspot\BingAdsApiBundle\Model\AccessToken; |
22 | 21 | use Werkspot\BingAdsApiBundle\Model\ApiDetails; |
22 | +use stdClass; |
|
23 | 23 | |
24 | 24 | class GeoLocationPerformanceReportTest extends PHPUnit_Framework_TestCase |
25 | 25 | { |
@@ -4,8 +4,8 @@ |
||
4 | 4 | |
5 | 5 | use GuzzleHttp\Client; |
6 | 6 | use GuzzleHttp\Exception\ClientException; |
7 | -use GuzzleHttp\Handler\MockHandler; |
|
8 | 7 | use GuzzleHttp\HandlerStack; |
8 | +use GuzzleHttp\Handler\MockHandler; |
|
9 | 9 | use GuzzleHttp\Psr7\Response; |
10 | 10 | use Mockery; |
11 | 11 | use PHPUnit_Framework_TestCase; |
@@ -4,8 +4,8 @@ |
||
4 | 4 | |
5 | 5 | use GuzzleHttp\Client; |
6 | 6 | use GuzzleHttp\Exception\ClientException; |
7 | -use GuzzleHttp\Handler\MockHandler; |
|
8 | 7 | use GuzzleHttp\HandlerStack; |
8 | +use GuzzleHttp\Handler\MockHandler; |
|
9 | 9 | use GuzzleHttp\Psr7\Response; |
10 | 10 | use Mockery; |
11 | 11 | use PHPUnit_Framework_TestCase; |
@@ -5,21 +5,24 @@ |
||
5 | 5 | { |
6 | 6 | /** |
7 | 7 | * @param string $format (See BingAds SDK documentation) |
8 | + * @return void |
|
8 | 9 | */ |
9 | 10 | public function setFormat($format); |
10 | 11 | |
11 | 12 | /** |
12 | 13 | * @param bool $returnOnlyCompleteData |
14 | + * @return void |
|
13 | 15 | */ |
14 | 16 | public function setReturnOnlyCompleteData($returnOnlyCompleteData); |
15 | 17 | |
16 | 18 | /** |
17 | 19 | * @param string $language (See BingAds SDK documentation) |
20 | + * @return void |
|
18 | 21 | */ |
19 | 22 | public function setReportLanguage($language); |
20 | 23 | |
21 | 24 | /** |
22 | - * @return mixed |
|
25 | + * @return \BingAds\Reporting\ReportRequest |
|
23 | 26 | */ |
24 | 27 | public function getRequest(); |
25 | 28 | } |
@@ -11,7 +11,6 @@ discard block |
||
11 | 11 | use Mockery; |
12 | 12 | use PHPUnit_Framework_TestCase; |
13 | 13 | use SoapFault; |
14 | -use stdClass; |
|
15 | 14 | use Symfony\Component\Filesystem\Filesystem; |
16 | 15 | use Werkspot\BingAdsApiBundle\Api\Client; |
17 | 16 | use Werkspot\BingAdsApiBundle\Api\Exceptions; |
@@ -20,6 +19,7 @@ discard block |
||
20 | 19 | use Werkspot\BingAdsApiBundle\Guzzle\OauthTokenService; |
21 | 20 | use Werkspot\BingAdsApiBundle\Model\AccessToken; |
22 | 21 | use Werkspot\BingAdsApiBundle\Model\ApiDetails; |
22 | +use stdClass; |
|
23 | 23 | |
24 | 24 | class GeoLocationPerformanceReportTest extends PHPUnit_Framework_TestCase |
25 | 25 | { |