Skip to content

Commit

Permalink
Merge pull request #2 from PabloJoan/patch-2
Browse files Browse the repository at this point in the history
strict typing to protected function decodeFrame
  • Loading branch information
dshafik committed Dec 27, 2016
2 parents 5590d81 + f24feb0 commit 250e982
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/FrameTest.php
Expand Up @@ -4,7 +4,7 @@

class FrameTest extends \PHPUnit_Framework_TestCase
{
protected function decodeFrame($frame_data)
protected function decodeFrame(string $frame_data) : \Hyphper\Frame
{
$f = \Hyphper\Frame::parseFrameHeader(substr($frame_data, 0, 9));
$length = $f->getLength();
Expand Down

0 comments on commit 250e982

Please sign in to comment.