diff --git a/test/UriTest.php b/test/UriTest.php index 5515fbb80..139332c3d 100644 --- a/test/UriTest.php +++ b/test/UriTest.php @@ -1378,6 +1378,6 @@ public function testUriWithEndingColonWithoutPort() $uri = new Uri($uriString); $this->assertSame('www.example.com', $uri->getHost()); - $this->assertSame(null, $uri->getPort()); + $this->assertNull($uri->getPort()); } }