Skip to content

Commit

Permalink
Adjust test
Browse files Browse the repository at this point in the history
  • Loading branch information
sgiehl authored Jan 7, 2025
1 parent 227cf39 commit 1531552
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/IPTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/
class IPTest extends TestCase
{
public function ipData()
public static function ipData()
{
return array(
// IPv4
Expand All @@ -35,7 +35,7 @@ public function ipData()
);
}

public function emptyNullIpData()
public static function emptyNullIpData()
{
return array(
array('', "\x00\x00\x00\x00", '0.0.0.0'),
Expand Down Expand Up @@ -134,7 +134,7 @@ public function testGetHostnameFailure()
$this->assertNull($ip->getHostname());
}

public function getIpsInRangeData()
public static function getIpsInRangeData()
{
return array(
array('192.168.1.10', array(
Expand Down Expand Up @@ -221,7 +221,7 @@ public function getIpsInRangeData()
);
}

public function getEmptyIpRangeData()
public static function getEmptyIpRangeData()
{
return array(
array(''),
Expand Down

0 comments on commit 1531552

Please sign in to comment.