summaryrefslogtreecommitdiff
path: root/docs/connections.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/connections.rst')
-rw-r--r--docs/connections.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/connections.rst b/docs/connections.rst
index d34d6a7..9a3a67a 100644
--- a/docs/connections.rst
+++ b/docs/connections.rst
@@ -10,7 +10,7 @@ provided, it defaults to ``ORM::DEFAULT_CONNECTION``.
When chaining, once ``for_table()`` has been used in the chain, remaining
calls in the chain use the correct connection.
-::
+.. code-block:: php
// Default connection
ORM::configure('sqlite:./example.db');
@@ -49,7 +49,7 @@ fallback to the default connection when no connection name is passed.
Instead, passing no connection name (or ``null``) returns the most recent
query on *any* connection.
-::
+.. code-block:: php
// Using default connection, explicitly
$person = ORM::for_table('person')->find_one(5);