Skip to content

Commit

Permalink
Fix assertInternalType deprecation in phpunit 9
Browse files Browse the repository at this point in the history
  • Loading branch information
jderusse committed Aug 1, 2019
1 parent 7f62b7b commit 0346cc5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function testToStream()
$this->assertFalse(feof($stream));
$this->assertTrue(rewind($stream));

$this->assertInternalType('array', json_decode(fread($stream, 1024), true));
$this->assertIsArray(json_decode(fread($stream, 1024), true));
$this->assertSame('', fread($stream, 1));
$this->assertTrue(feof($stream));
}
Expand Down

0 comments on commit 0346cc5

Please sign in to comment.