-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Description
In Model.php:
/*
- array<"conditions", array<string,string>>
/
public static function find(/ $type, $options */)
crashes with this test case:
In ActiveRecordFindTest.php:
public function test_find_by_conditions()
{
$author = Author::find(['conditions'=>["author_id = (?)", 3]]);
$this->assertEquals(3, $author->id);
}
because 0 options after extracting ['conditions'] is treated as multiple rows when it should be treated as a single row.
Metadata
Metadata
Assignees
Labels
No labels