Skip to content

Commit 9c8e48f

Browse files
committed
Revise return type to null in case of unfound object.
1 parent e770a82 commit 9c8e48f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/templates/js.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@
234234

235235
return <?php echo $tableName; ?>;
236236
} else {
237-
return undefined;
237+
return null;
238238
}
239239

240240
})

0 commit comments

Comments
 (0)