We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0694b3e commit 2a1bea3Copy full SHA for 2a1bea3
src/Parser.php
@@ -5,8 +5,7 @@
5
namespace PhpVersions\PHParse;
6
7
use DOMDocument;
8
-use DOMXpath;
9
-use PhpVersions\PHParse\Exceptions\NoPhpVersionsFileException;
+use DOMXPath;
10
11
class Parser
12
{
@@ -66,11 +65,11 @@ private function cleanValue($label) : string
66
65
return trim($label);
67
}
68
69
- private function loadXPathDocument($html) : DOMXpath
+ private function loadXPathDocument($html) : DOMXPath
70
71
$document = new DOMDocument;
72
$document->loadHTML($html);
73
- return new DOMXpath($document);
+ return new DOMXPath($document);
74
75
76
private function isValidPhpInfoHtml() : bool
0 commit comments