Skip to content
This repository has been archived by the owner on Oct 12, 2024. It is now read-only.

Commit

Permalink
Remove var dumper
Browse files Browse the repository at this point in the history
  • Loading branch information
dantleech committed Mar 6, 2023
1 parent ca76647 commit 0d909e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.14",
"phpunit/phpunit": "^8.0||^9.0",
"phpstan/phpstan": "^1.10",
"symfony/var-dumper": "^6.2"
"phpstan/phpstan": "^1.10"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion lib/XPath.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function queryOne(string $expr, DOMNode $contextEl = null, bool $register
throw new RuntimeException(sprintf(
'Expected "%s" but got "%s"',
Element::class,
get_class($node)
$node ? get_class($node) : gettype($node)
));
}

Expand Down

0 comments on commit 0d909e8

Please sign in to comment.