Permalink
Browse files

[monolog] Fixed typos and CS

  • Loading branch information...
1 parent 5f2e787 commit 021e106b6a5c2c4632ee8e8ed2da72c57554e2a4 @fzaninotto fzaninotto committed Dec 22, 2011
View
4 documentation/documentation/08-logging.markdown
@@ -196,7 +196,7 @@ By default, Propel logs all SQL queries, together with the date of the query and
To log SQL queries for a connection, Propel first looks for a logger named after the connection itself, and falls back to the default logger if no custom logger is defined for the connection.
-Using the follofing config, Propel will log SQL queries from the `bookstore` datasource into a `propel_bookstore.log` file, and the SQL queries for all other datasources into a `propel.log` file.
+Using the following config, Propel will log SQL queries from the `bookstore` datasource into a `propel_bookstore.log` file, and the SQL queries for all other datasources into a `propel.log` file.
{% highlight xml %}
<?xml version="1.0" encoding="ISO-8859-1"?>
@@ -238,7 +238,7 @@ $con->setLogMethods(array(
));
{% endhighlight %}
-Note that this list takes into account the methods from both `ConnecitonWrapper` and `StatementWrapper`.
+Note that this list takes into account the methods from both `ConnectionWrapper` and `StatementWrapper`.
### Adding Profiler Information ###
View
12 src/Propel/Runtime/Connection/ConnectionWrapper.php
@@ -36,12 +36,12 @@ class ConnectionWrapper implements ConnectionInterface
*/
const PROPEL_ATTR_CACHE_PREPARES = -1;
- /**
+ /**
* @var string The datasource name associated to this connection
*/
protected $name;
- /**
+ /**
* Whether or not the debug is enabled
*
* @var boolean
@@ -106,16 +106,16 @@ class ConnectionWrapper implements ConnectionInterface
);
/**
- * Configured BasicLogger (or compatible) logger.
+ * Configured logger.
*
- * @var BasicLogger
+ * @var \Monolog\Logger
*/
protected $logger;
/**
* Creates a Connection instance.
*
- * @param ConnectionInterface $connection
+ * @param \Propel\Runtime\Connection\ConnectionInterface $connection
*/
public function __construct(ConnectionInterface $connection)
{
@@ -142,7 +142,7 @@ public function getName()
}
/**
- * @return ConnectionInterface
+ * @return \Propel\Runtime\Connection\ConnectionInterface
*/
public function getWrappedConnection()
{

0 comments on commit 021e106

Please sign in to comment.