Code style fixes

This commit is contained in:
Dmitry Khomutov 2017-01-09 20:29:04 +07:00
commit 79e98c1aac
6 changed files with 6 additions and 6 deletions

View file

@ -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.

View file

@ -4,7 +4,7 @@ namespace b8\Cache;
use b8\Type;
class RequestCache implements Type\Cache
class RequestCache implements Type\CacheInterface
{
protected $data = [];

View file

@ -18,4 +18,4 @@ class Select extends Input
parent::_onPreRender($view);
$view->options = $this->_options;
}
}
}

View file

@ -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++) {

View file

@ -2,7 +2,7 @@
namespace b8\Type;
interface Cache
interface CacheInterface
{
public function get($key, $default = null);

View file

@ -21,4 +21,4 @@ class ArchiveProject extends AbstractMigration
$project->removeColumn('archived')->save();
}
}
}
}