Skip to content

Commit

Permalink
Use PHP 7.4 property types
Browse files Browse the repository at this point in the history
  • Loading branch information
dktapps committed May 18, 2021
1 parent c3591a3 commit ae63eb2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/BinaryStream.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,8 @@

class BinaryStream{

/** @var int */
protected $offset;
/** @var string */
protected $buffer;
protected int $offset;
protected string $buffer;

public function __construct(string $buffer = "", int $offset = 0){
$this->buffer = $buffer;
Expand Down

0 comments on commit ae63eb2

Please sign in to comment.