Skip to content

Commit eff5714

Browse files
committed
Code Style Adjustment
1 parent ed31524 commit eff5714

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

src/CacheEngineInterface.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ interface CacheEngineInterface
1010
* @param int $ttl The time to live in seconds of the object. Depends on implementation.
1111
* @return object The Object
1212
*/
13-
function get($key, $ttl = 0);
13+
public function get($key, $ttl = 0);
1414

1515
/**
1616
* @param string $key The object Key
1717
* @param object $object The object to be cached
1818
* @param int $ttl The time to live in seconds of the object. Depends on implementation.
1919
* @return bool If the object is successfully posted
2020
*/
21-
function set($key, $object, $ttl = 0);
21+
public function set($key, $object, $ttl = 0);
2222

2323
/**
2424
* Append only will work with strings.
@@ -27,23 +27,23 @@ function set($key, $object, $ttl = 0);
2727
* @param string $str
2828
* @return bool
2929
*/
30-
function append($key, $str);
30+
public function append($key, $str);
3131

3232
/**
3333
* Lock resource before set it.
3434
* @param string $key
3535
*/
36-
function lock($key);
36+
public function lock($key);
3737

3838
/**
3939
* Unlock resource
4040
* @param string $key
4141
*/
42-
function unlock($key);
42+
public function unlock($key);
4343

4444
/**
4545
* Release the object
4646
* @param string $key
4747
*/
48-
function release($key);
48+
public function release($key);
4949
}

src/Psr/CachePool.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,6 @@ public function hasItem($key)
159159

160160
/**
161161
* Psr implementation of clear()
162-
*
163-
* @todo Implement Clear Pool!
164162
*/
165163
public function clear()
166164
{

0 commit comments

Comments
 (0)