Completed
Push — master ( 8eec71...65b0ea )
by Stojan
05:49 queued 01:01
created
src/RunOpenCode/ExchangeRate/BancaIntesaSerbia/Parser/HtmlParser.php 1 patch
Doc Comments   +8 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
 
48 48
     /**
49 49
      * HtmlParser constructor.
50
-     * @param $node string
50
+     * @param \Psr\Http\Message\StreamInterface $node string
51 51
      * @param $date \DateTime
52 52
      */
53 53
     public function __construct($node, \DateTime $date)
@@ -65,6 +65,9 @@  discard block
 block discarded – undo
65 65
         return $this->rates;
66 66
     }
67 67
 
68
+    /**
69
+     * @param string $html
70
+     */
68 71
     private function parseHtml($html, \DateTime $date)
69 72
     {
70 73
         $crawler = new Crawler($html);
@@ -167,6 +170,10 @@  discard block
 block discarded – undo
167 170
         return strlen($currentRow['currencyCode']) === 3 ? $currentRow : null;
168 171
     }
169 172
 
173
+    /**
174
+     * @param string $rateType
175
+     * @param \DateTime $date
176
+     */
170 177
     private function buildRate($value, $currencyCode, $rateType, $date) {
171 178
 
172 179
         return new Rate(
Please login to merge, or discard this patch.