Completed
Pull Request — master (#4)
by Laurens
05:13
created
Api/Client.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
      * @param array $columns
125 125
      * @param string $name
126 126
      * @param $timePeriod
127
-     * @param null $fileLocation
127
+     * @param string $fileLocation
128 128
      *
129 129
      * @return array|string
130 130
      */
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
 
179 179
     /**
180 180
      * @param $reportRequest
181
-     * @param $name
181
+     * @param string $name
182 182
      * @param $downloadFile
183 183
      *
184 184
      * @throws \Exception
@@ -294,7 +294,7 @@  discard block
 block discarded – undo
294 294
      * of minutes. You should stop polling and try again later if the request
295 295
      * is taking longer than an hour.
296 296
      *
297
-     * @param $reportRequestId
297
+     * @param string $reportRequestId
298 298
      *
299 299
      * @return string ReportRequestStatus
300 300
      */
Please login to merge, or discard this patch.
Api/Helper/Csv.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@  discard block
 block discarded – undo
6 6
 class Csv
7 7
 {
8 8
     /**
9
-     * @param array $lines
9
+     * @param string[] $lines
10 10
      * @param bool $includingColumnHeaders
11 11
      * @param int $fileHeaders
12 12
      * @param int $columnHeaders
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     }
29 29
 
30 30
     /**
31
-     * @param array $lines
31
+     * @param string[] $lines
32 32
      * @param int   $noOfLinesToRemove
33 33
      *
34 34
      * @return array
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
     }
49 49
 
50 50
     /**
51
-     * @param array $lines
51
+     * @param string[] $lines
52 52
      * @param string $separator
53 53
      * @param string $enclosure
54 54
      *
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
     /**
78 78
      * @param array $array
79 79
      * @param string $separator
80
-     * @param null $enclosure
80
+     * @param string $enclosure
81 81
      *
82 82
      * @return string
83 83
      */
Please login to merge, or discard this patch.
Api/Helper/File.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
 
76 76
     /**
77 77
      * @param string $file zipFile we want to open
78
-     * @param null $extractTo
78
+     * @param boolean $extractTo
79 79
      * @param bool $delete
80 80
      *
81 81
      * @throws Exception
Please login to merge, or discard this patch.
Api/Report/BaseReport.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
      * @param array|null $columns
65 65
      * @param string|null $timePeriod (See BingAds SDK documentation)
66 66
      *
67
-     * @return mixed
67
+     * @return ReportRequest
68 68
      */
69 69
     public function getRequest(array $columns = null, $timePeriod = null)
70 70
     {
Please login to merge, or discard this patch.
Tests/Api/ClientTest.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -61,6 +61,7 @@
 block discarded – undo
61 61
     }
62 62
 
63 63
     /**
64
+     * @param integer $code
64 65
      * @return Mockery\MockInterface
65 66
      */
66 67
     private function runClientSoapException($code)
Please login to merge, or discard this patch.
Tests/Api/Report/GeoLocationPerformanceReportTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -276,6 +276,9 @@
 block discarded – undo
276 276
         return $apiClient;
277 277
     }
278 278
 
279
+    /**
280
+     * @param integer $code
281
+     */
279 282
     private function generateSoapFault($code)
280 283
     {
281 284
         $message = "an error message {$code}";
Please login to merge, or discard this patch.