We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cacc110 commit 671c233Copy full SHA for 671c233
src/Database/Table/ActiveRow.php
@@ -58,7 +58,7 @@ public function __toString()
58
try {
59
return (string) $this->getPrimary();
60
} catch (\Throwable $e) {
61
- if (func_num_args()) {
+ if (func_num_args() || PHP_VERSION_ID >= 70400) {
62
throw $e;
63
}
64
trigger_error('Exception in ' . __METHOD__ . "(): {$e->getMessage()} in {$e->getFile()}:{$e->getLine()}", E_USER_ERROR);
0 commit comments