Skip to content

Commit b4e90de

Browse files
authored
Discard changes to tests/PHPStan/Analyser/nsrt/has-offset-type-bug.php
1 parent 839e8aa commit b4e90de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/PHPStan/Analyser/nsrt/has-offset-type-bug.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public function doFoo2($mixed)
105105
public function doBar(\SimpleXMLElement $xml)
106106
{
107107
if (isset($xml['foo'])) {
108-
assertType("SimpleXMLElement&hasOffset('foo')", $xml['foo']);
108+
assertType('SimpleXMLElement', $xml['foo']);
109109
assertType("SimpleXMLElement&hasOffset('foo')", $xml);
110110
}
111111
}

0 commit comments

Comments
 (0)