Passed
Pull Request — master (#19)
by Ryosuke
62:49
created
src/Consumer.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -80,6 +80,9 @@  discard block
 block discarded – undo
80 80
         return $page;
81 81
     }
82 82
 
83
+    /**
84
+     * @param string $content
85
+     */
83 86
     private function extractOpenGraphData($content)
84 87
     {
85 88
         $crawler = new Crawler;
@@ -93,6 +96,10 @@  discard block
 block discarded – undo
93 96
             // Create clean property array
94 97
             $props = Linq::from($ogMetaTags)
95 98
                 ->select(
99
+
100
+                    /**
101
+                     * @param string $tag
102
+                     */
96 103
                     function (\DOMElement $tag) use ($t) {
97 104
                         $name = strtolower(trim($tag->getAttribute($t)));
98 105
                         $value = trim($tag->getAttribute("content"));
@@ -107,6 +114,10 @@  discard block
 block discarded – undo
107 114
         // Create new object of the correct type
108 115
         $typeProperty = Linq::from($properties)
109 116
             ->firstOrNull(
117
+
118
+                /**
119
+                 * @param string $property
120
+                 */
110 121
                 function (Property $property) {
111 122
                     return $property->key === Property::TYPE;
112 123
                 }
Please login to merge, or discard this patch.