1 | <?php |
||
6 | class BaseReport implements ReportInterface |
||
7 | { |
||
8 | const WSDL = 'https://api.bingads.microsoft.com/Api/Advertiser/Reporting/V9/ReportingService.svc?singleWsdl'; |
||
9 | const FILE_HEADERS = 10; |
||
10 | const COLUMN_HEADERS = 1; |
||
11 | |||
12 | protected $reportRequest; |
||
13 | |||
14 | /** |
||
15 | * {@inheritdoc} |
||
16 | */ |
||
17 | public function __construct() |
||
21 | |||
22 | /** |
||
23 | * @param $format |
||
24 | * |
||
25 | * @return $this |
||
26 | */ |
||
27 | public function setFormat($format) |
||
33 | |||
34 | /** |
||
35 | * @param bool $returnOnlyCompleteData |
||
36 | * |
||
37 | * @return $this |
||
38 | */ |
||
39 | public function setReturnOnlyCompleteData($returnOnlyCompleteData) |
||
45 | |||
46 | /** |
||
47 | * @param string $language |
||
48 | * |
||
49 | * @return $this |
||
50 | */ |
||
51 | public function setReportLanguage($language) |
||
57 | |||
58 | protected function createReportRequest() |
||
62 | |||
63 | /** |
||
64 | * @param array|null $columns |
||
65 | * @param string|null $timePeriod (See BingAds SDK documentation) |
||
66 | * |
||
67 | * @return ReportRequest |
||
68 | */ |
||
69 | public function getRequest(array $columns = null, $timePeriod = null) |
||
73 | } |
||
74 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..