apply StyleCI recommendation

This commit is contained in:
El RIDO 2022-01-22 08:47:34 +01:00
parent 2182cdd44f
commit 585d5db983
No known key found for this signature in database
GPG Key ID: 0F5C940A6BD81F92

View File

@ -391,9 +391,9 @@ class DatabaseTest extends PHPUnit_Framework_TestCase
public function testOciClob() public function testOciClob()
{ {
$int = (int) random_bytes(1); $int = (int) random_bytes(1);
$string = random_bytes(10); $string = random_bytes(10);
$clob = fopen('php://memory', 'r+'); $clob = fopen('php://memory', 'r+');
fwrite($clob, $string); fwrite($clob, $string);
rewind($clob); rewind($clob);
$this->assertEquals($int, Database::_sanitizeClob($int)); $this->assertEquals($int, Database::_sanitizeClob($int));