1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-22 21:22:40 +00:00

Whitespace fixes

This commit is contained in:
J. King 2019-10-25 15:16:35 -04:00
parent 71c7cd8fb1
commit c59cdfef76
4 changed files with 5 additions and 5 deletions

View file

@ -71,7 +71,7 @@ abstract class AbstractStatement implements Statement {
}
protected function bindValues(array $values): bool {
// recursively flatten any arrays, which may be provided for SET or IN() clauses
// recursively flatten any arrays, which may be provided for SET or IN() clauses
$values = ValueInfo::flatten($values);
foreach ($values as $a => $value) {
if (array_key_exists($a, $this->types)) {

View file

@ -642,7 +642,7 @@ class TestValueInfo extends \JKingWeb\Arsse\Test\AbstractTest {
public function testFlattenArray() {
$arr = [1, [2, 3, [4, 5]], 6, [[7, 8], 9, 10]];
$exp = range(1,10);
$exp = range(1, 10);
$this->assertSame($exp, I::flatten($arr));
}
}