Skip to content
This repository has been archived by the owner on Sep 20, 2021. It is now read-only.

Commit

Permalink
chore(php) read output is mixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hywan committed Nov 10, 2017
1 parent 38791b9 commit 99860ba
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Source/IStream/In.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,39 +53,39 @@ public function eof(): bool;
/**
* Read n characters.
*/
public function read(int $length): string;
public function read(int $length);

/**
* Alias of $this->read().
*/
public function readString(int $length): string;
public function readString(int $length);

/**
* Read a character.
* It could be equivalent to $this->read(1).
*/
public function readCharacter(): string;
public function readCharacter();

/**
* Read a boolean.
*/
public function readBoolean(): bool;
public function readBoolean();

/**
* Read an integer.
*/
public function readInteger(int $length = 1): int;
public function readInteger(int $length = 1);

/**
* Read a float.
*/
public function readFloat(int $length = 1): float;
public function readFloat(int $length = 1);

/**
* Read an array.
* In most cases, it could be an alias to the $this->scanf() method.
*/
public function readArray(): array;
public function readArray();

/**
* Read a line.
Expand All @@ -95,7 +95,7 @@ public function readLine();
/**
* Read all, i.e. read as much as possible.
*/
public function readAll(int $offset = 0): string;
public function readAll(int $offset = 0);

/**
* Parse input from a stream according to a format.
Expand Down

0 comments on commit 99860ba

Please sign in to comment.