File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ public function get()
161161 * @param $byte1
162162 * @return $byte1 unmodified
163163 */
164- protected static function addReservedBitsToFixedHeaderControlPacketType ($ byte1 )
164+ protected function addReservedBitsToFixedHeaderControlPacketType ($ byte1 )
165165 {
166166 return $ byte1 ;
167167 }
@@ -171,7 +171,7 @@ protected static function addReservedBitsToFixedHeaderControlPacketType($byte1)
171171 * @param string $rawInput
172172 * @return string
173173 */
174- protected function getPayloadLengthPrefixFieldInRawInput ($ startIndex , $ rawInput )
174+ protected static function getPayloadLengthPrefixFieldInRawInput ($ startIndex , $ rawInput )
175175 {
176176 $ headerLength = 2 ;
177177 $ header = substr ($ rawInput , $ startIndex , $ headerLength );
Original file line number Diff line number Diff line change 11<?php
2+ error_reporting (E_ALL );
3+
24// change the following paths if necessary
35require_once (dirname (dirname (__FILE__ )) . "/vendor/autoload.php " );
You can’t perform that action at this time.
0 commit comments