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

Commit 61a38c2

Browse files
committed
chore(composer) Use dev-master dependencies.
1 parent 72a4369 commit 61a38c2

File tree

3 files changed

+25
-25
lines changed

3 files changed

+25
-25
lines changed

Source/Input.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -95,47 +95,47 @@ public function eof(): bool
9595
/**
9696
* Read n characters.
9797
*/
98-
public function read(int $length): string
98+
public function read(int $length)
9999
{
100100
return $this->_input->read($length);
101101
}
102102

103103
/**
104104
* Alias of $this->read().
105105
*/
106-
public function readString(int $length): string
106+
public function readString(int $length)
107107
{
108108
return $this->_input->readString($length);
109109
}
110110

111111
/**
112112
* Read a character.
113113
*/
114-
public function readCharacter(): string
114+
public function readCharacter()
115115
{
116116
return $this->_input->readCharacter();
117117
}
118118

119119
/**
120120
* Read a boolean.
121121
*/
122-
public function readBoolean(): bool
122+
public function readBoolean()
123123
{
124124
return $this->_input->readBoolean();
125125
}
126126

127127
/**
128128
* Read an integer.
129129
*/
130-
public function readInteger(int $length = 1): int
130+
public function readInteger(int $length = 1)
131131
{
132132
return $this->_input->readInteger($length);
133133
}
134134

135135
/**
136136
* Read a float.
137137
*/
138-
public function readFloat(int $length = 1): float
138+
public function readFloat(int $length = 1)
139139
{
140140
return $this->_input->readFloat($length);
141141
}
@@ -144,23 +144,23 @@ public function readFloat(int $length = 1): float
144144
* Read an array.
145145
* Alias of the $this->scanf() method.
146146
*/
147-
public function readArray($argument = null): array
147+
public function readArray($argument = null)
148148
{
149149
return $this->_input->readArray($argument);
150150
}
151151

152152
/**
153153
* Read a line.
154154
*/
155-
public function readLine(): string
155+
public function readLine()
156156
{
157157
return $this->_input->readLine();
158158
}
159159

160160
/**
161161
* Read all, i.e. read as much as possible.
162162
*/
163-
public function readAll(int $offset = 0): string
163+
public function readAll(int $offset = 0)
164164
{
165165
return $this->_input->readAll($offset);
166166
}

Source/Processus.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ public function eof(int $pipe = 1): bool
494494
/**
495495
* Read n characters.
496496
*/
497-
public function read(int $length, int $pipe = 1): string
497+
public function read(int $length, int $pipe = 1)
498498
{
499499
if (0 > $length) {
500500
throw new Exception(
@@ -510,39 +510,39 @@ public function read(int $length, int $pipe = 1): string
510510
/**
511511
* Alias of $this->read().
512512
*/
513-
public function readString(int $length, int $pipe = 1): string
513+
public function readString(int $length, int $pipe = 1)
514514
{
515515
return $this->read($length, $pipe);
516516
}
517517

518518
/**
519519
* Read a character.
520520
*/
521-
public function readCharacter(int $pipe = 1): string
521+
public function readCharacter(int $pipe = 1)
522522
{
523523
return fgetc($this->getPipe($pipe));
524524
}
525525

526526
/**
527527
* Read a boolean.
528528
*/
529-
public function readBoolean(int $pipe = 1): bool
529+
public function readBoolean(int $pipe = 1)
530530
{
531531
return (bool) $this->read(1, $pipe);
532532
}
533533

534534
/**
535535
* Read an integer.
536536
*/
537-
public function readInteger(int $length = 1, int $pipe = 1): int
537+
public function readInteger(int $length = 1, int $pipe = 1)
538538
{
539539
return (int) $this->read($length, $pipe);
540540
}
541541

542542
/**
543543
* Read a float.
544544
*/
545-
public function readFloat(int $length = 1, int $pipe = 1): float
545+
public function readFloat(int $length = 1, int $pipe = 1)
546546
{
547547
return (float) $this->read($length, $pipe);
548548
}
@@ -551,7 +551,7 @@ public function readFloat(int $length = 1, int $pipe = 1): float
551551
* Read an array.
552552
* Alias of the $this->scanf() method.
553553
*/
554-
public function readArray(string $format = null, int $pipe = 1): array
554+
public function readArray(string $format = null, int $pipe = 1)
555555
{
556556
return $this->scanf($format, $pipe);
557557
}
@@ -567,7 +567,7 @@ public function readLine(int $pipe = 1)
567567
/**
568568
* Read all, i.e. read as much as possible.
569569
*/
570-
public function readAll(int $offset = -1, int $pipe = 1): string
570+
public function readAll(int $offset = -1, int $pipe = 1)
571571
{
572572
$_pipe = $this->getPipe($pipe);
573573

composer.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,16 @@
2626
},
2727
"require": {
2828
"php" : ">=7.1",
29-
"hoa/consistency": "~1.0",
30-
"hoa/event" : "~1.0",
31-
"hoa/exception" : "~1.0",
32-
"hoa/file" : "~1.0",
33-
"hoa/protocol" : "~1.0",
34-
"hoa/stream" : "~1.0",
35-
"hoa/ustring" : "~4.0"
29+
"hoa/consistency": "dev-master",
30+
"hoa/event" : "dev-master",
31+
"hoa/exception" : "dev-master",
32+
"hoa/file" : "dev-master",
33+
"hoa/protocol" : "dev-master",
34+
"hoa/stream" : "dev-master",
35+
"hoa/ustring" : "dev-master"
3636
},
3737
"require-dev": {
38-
"hoa/test": "~2.0"
38+
"hoa/test": "dev-master"
3939
},
4040
"autoload": {
4141
"psr-4": {

0 commit comments

Comments
 (0)