Skip to content

Commit

Permalink
Rename ByteStream::createFromFile to createFromFilename
Browse files Browse the repository at this point in the history
  • Loading branch information
olafkryus committed Jun 20, 2019
1 parent dca8af5 commit 90e971c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ByteStream.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function __construct(string $contents, int $endianness = BinaryValue::END
* @return ByteStream
* @throws \Exception
*/
public static function createFromFile(string $filename, int $endianness = BinaryValue::ENDIANNESS_LITTLE_ENDIAN): ByteStream
public static function createFromFilename(string $filename, int $endianness = BinaryValue::ENDIANNESS_LITTLE_ENDIAN): ByteStream
{
$contents = file_get_contents($filename);

Expand Down

0 comments on commit 90e971c

Please sign in to comment.