Skip to content

Commit 7a92cf8

Browse files
committed
Redfine todo comment
1 parent 7c4a0b8 commit 7a92cf8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ext/pdo/pdo_stmt.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -872,8 +872,9 @@ static bool do_fetch(pdo_stmt_t *stmt, zval *return_value, enum pdo_fetch_type h
872872
zval_ptr_dtor_str(&val);
873873
}
874874
ce = stmt->fetch.cls.ce;
875+
/* TODO: Make this an assertion and ensure this is true higher up? */
875876
if (!ce) {
876-
/* TODO ArgumentCountError? */
877+
/* TODO Error? */
877878
pdo_raise_impl_error(stmt->dbh, stmt, "HY000", "No fetch class specified");
878879
return 0;
879880
}

0 commit comments

Comments
 (0)