Skip to content

Commit e58a5f7

Browse files
committed
Merge pull request #125 from ents/RedisCampability
Removed whitespaces at the end of lines
2 parents 145f590 + 49c7e57 commit e58a5f7

File tree

3 files changed

+26
-26
lines changed

3 files changed

+26
-26
lines changed

core/Base/Listable.class.php

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,58 +8,58 @@
88
* License, or (at your option) any later version. *
99
* *
1010
***************************************************************************/
11-
11+
1212
interface Listable extends Iterator, ArrayAccess, Countable, SeekableIterator
1313
{
1414
/**
1515
* Push new list item to the tail of list
16-
*
17-
* @return Listable
16+
*
17+
* @return Listable
1818
*/
1919
public function append($value);
2020

2121
/**
2222
* Push new list item to the head of list
23-
*
24-
* @return Listable
23+
*
24+
* @return Listable
2525
*/
2626
public function prepend($value);
2727

2828
/**
2929
* Trims $length items starting from @start
30-
*
31-
* @return Listable
30+
*
31+
* @return Listable
3232
*/
3333
public function trim($start, $length);
3434

3535
/**
3636
* Truncates list
37-
*
38-
* @return Listable
37+
*
38+
* @return Listable
3939
*/
4040
public function clear();
4141

4242
/**
43-
* @return mixed
43+
* @return mixed
4444
*/
4545
public function get($index);
4646

4747
/**
4848
* Returns the last element of list and removing it
49-
*
50-
* @return mixed
49+
*
50+
* @return mixed
5151
*/
5252
public function pop();
5353

5454
/**
55-
* @return Listable
55+
* @return Listable
5656
*/
5757
public function set($index, $value);
5858

5959
/**
6060
* Returns sublist from $start to $start+$length
61-
*
62-
* @return array
61+
*
62+
* @return array
6363
*/
6464
public function range($start, $length);
6565
}

core/DB/NoSQL/RedisNoSQL.class.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ final class RedisNoSQL extends CachePeer implements ListGenerator
2525
* @param type $host
2626
* @param type $port
2727
* @param type $timeout
28-
* @return RedisNoSQL
28+
* @return RedisNoSQL
2929
*/
3030
public static function create(
3131
$host = self::DEFAULT_HOST,
@@ -142,8 +142,8 @@ public function increment($key, $value)
142142
}
143143

144144
/**
145-
* @param string $key
146-
*
145+
* @param string $key
146+
*
147147
* @return RedisNoSQLList
148148
*/
149149
public function fetchList($key, $timeout = null)
@@ -154,8 +154,8 @@ public function fetchList($key, $timeout = null)
154154
}
155155

156156
/**
157-
* @param string $key
158-
*
157+
* @param string $key
158+
*
159159
* @return RedisNoSQLSet
160160
*/
161161
public function fetchSet($key)
@@ -164,8 +164,8 @@ public function fetchSet($key)
164164
}
165165

166166
/**
167-
* @param string $key
168-
*
167+
* @param string $key
168+
*
169169
* @return RedisNoSQLHash
170170
*/
171171
public function fetchHash($key)
@@ -196,7 +196,7 @@ protected function store($action, $key, $value, $expires = Cache::EXPIRES_MEDIUM
196196

197197
protected function ensureTriedToConnect()
198198
{
199-
if ($this->triedConnect)
199+
if ($this->triedConnect)
200200
return $this;
201201

202202
$this->triedConnect = true;

core/DB/NoSQL/RedisNoSQLList.class.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function __construct(Redis $redis, $key, $timeout = null)
2525

2626
/**
2727
* @param mixed $value
28-
* @return RedisList
28+
* @return RedisList
2929
*/
3030
public function append($value)
3131
{
@@ -39,7 +39,7 @@ public function append($value)
3939

4040
/**
4141
* @param mixed $value
42-
* @return RedisList
42+
* @return RedisList
4343
*/
4444
public function prepend($value)
4545
{
@@ -52,7 +52,7 @@ public function prepend($value)
5252
}
5353

5454
/**
55-
* @return RedisList
55+
* @return RedisList
5656
*/
5757
public function clear()
5858
{

0 commit comments

Comments
 (0)