Commit: eb6d8d72fef8387820ec8db4f8a12e3899af1d8d

Author: Nate Abele | Date: 2010-08-24 19:29:18 -0400
Fixing coding standards violations.
diff --git a/app/config/bootstrap/session.php b/app/config/bootstrap/session.php index 77182af..ffb754a 100644 --- a/app/config/bootstrap/session.php +++ b/app/config/bootstrap/session.php @@ -20,7 +20,7 @@ Session::config(array( /** * Uncomment this to enable forms-based authentication. The configuration below will attempt to * authenticate users against a `User` model. In a controller, run - * `Auth::check('default', $this->request)` to authenticate a user. This will check + * `Auth::check('default', $this->request)` to authenticate a user. This will check * * @see lithium\security\auth\adapter\Form */ diff --git a/libraries/lithium/action/Dispatcher.php b/libraries/lithium/action/Dispatcher.php index de457d3..1d7ce9c 100644 --- a/libraries/lithium/action/Dispatcher.php +++ b/libraries/lithium/action/Dispatcher.php @@ -47,10 +47,10 @@ class Dispatcher extends \lithium\core\StaticObject { * Contains pre-process format strings for changing Dispatcher's behavior based on 'rules'. * * Each key in the array represents a 'rule'; if a key that matches the rule is present (and - * not empty) in a route, (i.e. the result of `lithium\net\http\Router::parse()`) then the rule's - * value will be applied to the route before it is dispatched. When applying a rule, any array - * elements array elements of the flag which are present in the route will be modified using a - * `lithium\util\String::insert()`-formatted string. + * not empty) in a route, (i.e. the result of `lithium\net\http\Router::parse()`) then the + * rule's value will be applied to the route before it is dispatched. When applying a rule, any + * array elements array elements of the flag which are present in the route will be modified + * using a `lithium\util\String::insert()`-formatted string. * * For example, to implement action prefixes (i.e. `admin_index()`), set a rule named 'admin', * with a value array containing a modifier key for the `action` element of a route, i.e.: diff --git a/libraries/lithium/analysis/Logger.php b/libraries/lithium/analysis/Logger.php index 304bccf..c4c0613 100644 --- a/libraries/lithium/analysis/Logger.php +++ b/libraries/lithium/analysis/Logger.php @@ -151,6 +151,8 @@ class Logger extends \lithium\core\Adaptable { * of adapter configurations returned will be used to write a message with the given priority. * * @param string $priority The priority level of a message to be written. + * @param string $message The message to write to the adapter. + * @param array $options Adapter-specific options. * @return array Returns an array of names of configurations which are set up to respond to the * message priority specified in `$priority`, or configured to respond to _all_ message * priorities. diff --git a/libraries/lithium/analysis/Parser.php b/libraries/lithium/analysis/Parser.php index a5153be..e2a22ca 100644 --- a/libraries/lithium/analysis/Parser.php +++ b/libraries/lithium/analysis/Parser.php @@ -215,8 +215,7 @@ class Parser extends \lithium\core\StaticObject { * @param string $parameters An array containing token patterns to be matched. * @param array $options The list of options to be used when matching `$code`: * - 'ignore': An array of language tokens to ignore. - * - 'return': If set to 'content' returns an array of - * matching tokens. + * - 'return': If set to 'content' returns an array of matching tokens. * @return array Array of matching tokens. */ public static function match($code, $parameters, array $options = array()) { diff --git a/libraries/lithium/analysis/logger/adapter/Growl.php b/libraries/lithium/analysis/logger/adapter/Growl.php index b07b7cc..9bed264 100644 --- a/libraries/lithium/analysis/logger/adapter/Growl.php +++ b/libraries/lithium/analysis/logger/adapter/Growl.php @@ -101,6 +101,8 @@ class Growl extends \lithium\core\Object { * * @param string $type Not used (all notifications are of the same type). * @param string $message Message to be shown. + * @param array $options Any options that are passed to the `notify()` method. See the + * `$options` parameter of `notify()`. * @return boolean `True` on successful write, `false` otherwise. */ public function write($type, $message, array $options = array()) {