@@ -86,6 +86,9 @@ discard block |
||
86 | 86 | return $siblingVersions; |
87 | 87 | } |
88 | 88 | |
89 | + /** |
|
90 | + * @param string $content |
|
91 | + */ |
|
89 | 92 | private static function fetchEdgeVersion($content) |
90 | 93 | { |
91 | 94 | preg_match('/<h4[^>]*> *Edge ([\d\.]*) *<\/h4>/', $content, $edge); |
@@ -97,6 +100,10 @@ discard block |
||
97 | 100 | return null; |
98 | 101 | } |
99 | 102 | |
103 | + /** |
|
104 | + * @param string $edgeHtml |
|
105 | + * @param string $edge |
|
106 | + */ |
|
100 | 107 | private static function writeEdgeVersion($edgeHtml, $edge) |
101 | 108 | { |
102 | 109 | $file = __DIR__ . '/../../src/edgeVersionMap.php'; |
@@ -120,6 +127,9 @@ discard block |
||
120 | 127 | } |
121 | 128 | } |
122 | 129 | |
130 | + /** |
|
131 | + * @param string $content |
|
132 | + */ |
|
123 | 133 | private static function fetchSiblingVersions($content) |
124 | 134 | { |
125 | 135 | if (!$content) throw new Exception(self::$errors['could_not_fetch_page']); |