Code style fixes
This commit is contained in:
parent
35745fba0a
commit
79e98c1aac
6 changed files with 6 additions and 6 deletions
|
|
@ -4,7 +4,7 @@ namespace b8\Cache;
|
|||
|
||||
use b8\Type;
|
||||
|
||||
class ApcCache implements Type\Cache
|
||||
class ApcCache implements Type\CacheInterface
|
||||
{
|
||||
/**
|
||||
* Check if caching is enabled.
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ namespace b8\Cache;
|
|||
|
||||
use b8\Type;
|
||||
|
||||
class RequestCache implements Type\Cache
|
||||
class RequestCache implements Type\CacheInterface
|
||||
{
|
||||
protected $data = [];
|
||||
|
||||
|
|
|
|||
|
|
@ -18,4 +18,4 @@ class Select extends Input
|
|||
parent::_onPreRender($view);
|
||||
$view->options = $this->_options;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -145,7 +145,7 @@ class HttpClient
|
|||
return $body;
|
||||
}
|
||||
|
||||
function _readChunk(&$string, $len = 4096)
|
||||
protected function _readChunk(&$string, $len = 4096)
|
||||
{
|
||||
$rtn = '';
|
||||
for ($i = 0; $i <= $len; $i++) {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
namespace b8\Type;
|
||||
|
||||
interface Cache
|
||||
interface CacheInterface
|
||||
{
|
||||
public function get($key, $default = null);
|
||||
|
||||
|
|
@ -21,4 +21,4 @@ class ArchiveProject extends AbstractMigration
|
|||
$project->removeColumn('archived')->save();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue