Passed
Pull Request — master (#21)
by kenny
22:24 queued 15:51
created
src/FormatMapping.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
     /**
11 11
      * map a single article to main attributes in Article Class
12 12
      * @param  string $singleJsonArticle JSON response
13
-     * @return Article\Exception
13
+     * @return Article
14 14
      */
15 15
     public function article($singleJsonArticle)
16 16
     {
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
     /**
52 52
      * Make sure value is integer
53 53
      * @param  int $int
54
-     * @return boolean
54
+     * @return integer
55 55
      */
56 56
     private function filterInteger($int)
57 57
     {
@@ -97,6 +97,7 @@  discard block
 block discarded – undo
97 97
      * Get value of array based on attributes(keys)
98 98
      * @param  supported php variables $attribute
99 99
      * @param  array $data
100
+     * @param string $attribute
100 101
      * @return supported php variables
101 102
      */
102 103
     private function getValue($attribute, $data)
Please login to merge, or discard this patch.