Skip to content

Commit f384c52

Browse files
committed
Removing superfluous newlines
1 parent 7eb56b1 commit f384c52

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

src/Binary.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ public static function unsignInt(int $value) : int{
7171
return $value & 0xffffffff;
7272
}
7373

74-
7574
public static function flipShortEndianness(int $value) : int{
7675
return self::readLShort(self::writeShort($value));
7776
}
@@ -387,7 +386,6 @@ public static function writeUnsignedVarInt(int $value) : string{
387386
throw new InvalidArgumentException("Value too large to be encoded as a VarInt");
388387
}
389388

390-
391389
/**
392390
* Reads a 64-bit zigzag-encoded variable-length integer.
393391
*

src/BinaryStream.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ public function put(string $str){
125125
$this->buffer .= $str;
126126
}
127127

128-
129128
public function getBool() : bool{
130129
return $this->get(1) !== "\x00";
131130
}
@@ -137,7 +136,6 @@ public function putBool(bool $v){
137136
$this->buffer .= ($v ? "\x01" : "\x00");
138137
}
139138

140-
141139
public function getByte() : int{
142140
return ord($this->get(1));
143141
}
@@ -149,7 +147,6 @@ public function putByte(int $v){
149147
$this->buffer .= chr($v);
150148
}
151149

152-
153150
public function getShort() : int{
154151
return Binary::readShort($this->get(2));
155152
}
@@ -180,7 +177,6 @@ public function putLShort(int $v){
180177
$this->buffer .= Binary::writeLShort($v);
181178
}
182179

183-
184180
public function getTriad() : int{
185181
return Binary::readTriad($this->get(3));
186182
}
@@ -203,7 +199,6 @@ public function putLTriad(int $v){
203199
$this->buffer .= Binary::writeLTriad($v);
204200
}
205201

206-
207202
public function getInt() : int{
208203
return Binary::readInt($this->get(4));
209204
}
@@ -226,7 +221,6 @@ public function putLInt(int $v){
226221
$this->buffer .= Binary::writeLInt($v);
227222
}
228223

229-
230224
public function getFloat() : float{
231225
return Binary::readFloat($this->get(4));
232226
}

0 commit comments

Comments
 (0)