src/Response/StreamReader.php
StreamReader
has 24 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class StreamReader {
/**
* @var string
*/
Method readType
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function readType(){
$type = $this->readShort();
switch ($type) {
case Type\Base::CUSTOM:
return [
Avoid too many return
statements within this method. Open
Open
return $data;
Avoid too many return
statements within this method. Open
Open
return $type;