Completed
Push — master ( 7b2db5...749eb1 )
by Dmitry
02:39
created
src/Sync/TestRailSync.php 3 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Http\Client\Common\HttpMethodsClient;
6 6
 use Http\Client\Exception as HttpClientException;
7
-use Psr\Http\Message\RequestInterface;
8 7
 use Psr\Http\Message\ResponseInterface;
9 8
 use TonicForHealth\ReportAggregator\Entity\Result;
10 9
 use TonicForHealth\ReportAggregator\Entity\TestCase;
Please login to merge, or discard this patch.
Doc Comments   +7 added lines, -4 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
     }
103 103
 
104 104
     /**
105
-     * @param $normalizeTitle
105
+     * @param string $normalizeTitle
106 106
      *
107 107
      * @return \Closure
108 108
      */
@@ -113,6 +113,9 @@  discard block
 block discarded – undo
113 113
         };
114 114
     }
115 115
 
116
+    /**
117
+     * @param string $resourcePath
118
+     */
116 119
     protected function getResourceUrl($resourcePath)
117 120
     {
118 121
         return $this->getApiUrl().$resourcePath;
@@ -171,7 +174,7 @@  discard block
 block discarded – undo
171 174
     }
172 175
 
173 176
     /**
174
-     * @param $testRunId
177
+     * @param integer $testRunId
175 178
      *
176 179
      * @return array
177 180
      *
@@ -197,7 +200,7 @@  discard block
 block discarded – undo
197 200
 
198 201
     /**
199 202
      * @param TestRailRunReport $testRailReport
200
-     * @param $testRunId
203
+     * @param integer $testRunId
201 204
      *
202 205
      * @return ResponseInterface
203 206
      *
@@ -226,7 +229,7 @@  discard block
 block discarded – undo
226 229
 
227 230
     /**
228 231
      * @param ResponseInterface $request
229
-     * @param $apiUrlResource
232
+     * @param string $apiUrlResource
230 233
      *
231 234
      * @throws TestRailSyncServerException
232 235
      */
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
      */
109 109
     protected function findByNormalizeTitleCallback($normalizeTitle)
110 110
     {
111
-        return function (TestCase $case) use ($normalizeTitle) {
111
+        return function(TestCase $case) use ($normalizeTitle) {
112 112
             return static::normalizeStrToCaseIdent($case->getTitle()) === $normalizeTitle;
113 113
         };
114 114
     }
Please login to merge, or discard this patch.