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:
@@ -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()
|
||||
|
Reference in New Issue
Block a user