1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 00:54:49 +02:00

Generated PHPDoc for all classes in e107_handlers where one was missing. toNumber() updated to always return int or float.

This commit is contained in:
Cameron
2022-04-04 10:54:24 -07:00
parent 813f2bf38f
commit 55980a29a8
104 changed files with 5498 additions and 1221 deletions

View File

@@ -672,14 +672,14 @@ EXPECTED;
public function testToNumber()
{
$result = $this->tp->toNumber('v2a');
$this->assertEquals('2', $result);
$this->assertSame(2, $result);
$result = $this->tp->toNumber('v1.5');
$this->assertEquals('1.5', $result);
$this->assertSame(1.5, $result);
$result = $this->tp->toNumber('v3.5');
$this->assertEquals('3.5', $result);
$this->assertSame(3.5, $result);
}
/*
public function testthumbUrlSEF()