Browse Source

Update documentation

dereuromark 9 years ago
parent
commit
c7d44159ac
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/Database/Connection.php

+ 2 - 2
src/Database/Connection.php

@@ -518,8 +518,8 @@ class Connection implements ConnectionInterface
      *
      * ### Example:
      *
-     * `$connection->useSavePoints(true)` Returns true if drivers supports save points, false otherwise
-     * `$connection->useSavePoints(false)` Disables usage of savepoints and returns false
+     * `$connection->enableSavePoints(true)` Returns true if drivers supports save points, false otherwise
+     * `$connection->enableSavePoints(false)` Disables usage of savepoints and returns false
      *
      * @param bool $enable Whether or not save points should be used.
      * @return $this