Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 9 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
46 | 4 | public static function oobDataPackageSizeExceeded(SocketInterface $socket, $packetSize, $size) |
|
47 | { |
||
48 | 4 | return new self( |
|
49 | 4 | $socket, |
|
50 | 4 | sprintf( |
|
51 | 4 | 'Out-of-band data size is exceeded for socket "%s", (%s bytes allowed, %s bytes tried to sent).', |
|
52 | 4 | (string) $socket, |
|
53 | 4 | $packetSize, |
|
54 | $size |
||
55 | 4 | ) |
|
56 | 4 | ); |
|
57 | } |
||
58 | } |
||
59 |