Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Re-wrapping long lines.

  • Loading branch information...
commit a4ebf4653b81d9399608c01a120269f5a9d4f4c0 1 parent 39b7c46
@davidpersson davidpersson authored
View
3  storage/Cache.php
@@ -41,7 +41,8 @@
*
* Some cache adapters (e.g. `File`) do _not_ provide the functionality for increment/decrement.
* Additionally, some cache adapters support multi-key operations for `write`, `read` and `delete`
- * — please see the individual documentation for cache adapters and the operations that they support.
+ * — please see the individual documentation for cache adapters and the operations that
+ * they support.
*
* @see lithium\core\Adaptable
* @see lithium\storage\cache\adapter
View
6 storage/cache/adapter/Memory.php
@@ -125,7 +125,8 @@ public function delete($key) {
*
* @param string $key Key of numeric cache item to decrement.
* @param integer $offset Offset to decrement - defaults to 1.
- * @return closure Function returning item's new value on successful decrement, `false` otherwise.
+ * @return closure Function returning item's new value on successful decrement,
+ * `false` otherwise.
*/
public function decrement($key, $offset = 1) {
$cache =& $this->_cache;
@@ -141,7 +142,8 @@ public function decrement($key, $offset = 1) {
*
* @param string $key Key of numeric cache item to increment.
* @param integer $offset Offset to increment - defaults to 1.
- * @return closure Function returning item's new value on successful increment, `false` otherwise.
+ * @return closure Function returning item's new value on successful increment,
+ * `false` otherwise.
*/
public function increment($key, $offset = 1) {
$cache =& $this->_cache;
View
5 template/View.php
@@ -193,8 +193,9 @@ class View extends \lithium\core\Object {
* templates. Defaults to `File`.
* - `'renderer'` _mixed_: Populates the view/layout with the data set from the
* controller. Defaults to `'File'`.
- * - `request`: The request object to be made available in the view. Defaults to `null`.
- * - `vars`: Defaults to `array()`.
+ * - `'request'`: The request object to be made available in the view.
+ * Defaults to `null`.
+ * - `'vars'`: Defaults to `array()`.
*/
public function __construct(array $config = array()) {
$defaults = array(
View
5 tests/cases/security/PasswordTest.php
@@ -59,7 +59,10 @@ public function testPasswordMaxLength() {
foreach (array('bf' => 72) as $method => $length) {
$salt = Password::salt($method);
$pass = str_repeat('a', $length);
- $this->assertIdentical(Password::hash($pass, $salt), Password::hash($pass . 'a', $salt));
+
+ $expected = Password::hash($pass, $salt);
+ $result = Password::hash($pass . 'a', $salt);
+ $this->assertIdentical($expected, $result);
}
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.