Error message
- Deprecated function: Return type of DatabaseStatementBase::execute($args = [], $options = []) should either be compatible with PDOStatement::execute(?array $params = null): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in require_once() (line 2246 of /var/www/webmd/apps/mdedge/htdocs/includes/database/database.inc).
- Deprecated function: Return type of DatabaseStatementEmpty::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in require_once() (line 2348 of /var/www/webmd/apps/mdedge/htdocs/includes/database/database.inc).
- Deprecated function: Return type of DatabaseStatementEmpty::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in require_once() (line 2348 of /var/www/webmd/apps/mdedge/htdocs/includes/database/database.inc).
- Deprecated function: Return type of DatabaseStatementEmpty::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in require_once() (line 2348 of /var/www/webmd/apps/mdedge/htdocs/includes/database/database.inc).
- Deprecated function: Return type of DatabaseStatementEmpty::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in require_once() (line 2348 of /var/www/webmd/apps/mdedge/htdocs/includes/database/database.inc).
- Deprecated function: Return type of DatabaseStatementEmpty::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in require_once() (line 2348 of /var/www/webmd/apps/mdedge/htdocs/includes/database/database.inc).
Best Practices
The 10 Commandments of Internships
As another year of residency begins, we invite all interns to read and consider adopting these principles.
Publish date: July 5, 2019