Skip to content

Commit

Permalink
Adding @deprecated to doc blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
burzum committed May 10, 2017
1 parent e7fff40 commit d7f1909
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Database/Connection.php
Expand Up @@ -810,6 +810,8 @@ public function logQueries($enable = null)

/**
* {@inheritDoc}
*
* @deprecated 3.5.0 Use getLogger() and setLogger() instead.
*/
public function logger($instance = null)
{
Expand Down
1 change: 1 addition & 0 deletions src/Database/Log/LoggingStatement.php
Expand Up @@ -109,6 +109,7 @@ public function bindValue($column, $value, $type = 'string')
* Sets the logger object instance. When called with no arguments
* it returns the currently setup logger instance
*
* @deprecated 3.5.0 Use getLogger() and setLogger() instead.
* @param object|null $instance Logger object instance.
* @return object|null Logger instance
*/
Expand Down

0 comments on commit d7f1909

Please sign in to comment.