Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Tigrov committed Nov 21, 2024
1 parent ece7af0 commit 7d817d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/QueryBuilder/AbstractQueryBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ protected function prepareResource(mixed $value): string
$value = stream_get_contents($value);

if ($value === false) {
throw new InvalidArgumentException('Cannot read steam contents.');
throw new InvalidArgumentException('Cannot read stream contents.');

Check warning on line 502 in src/QueryBuilder/AbstractQueryBuilder.php

View check run for this annotation

Codecov / codecov/patch

src/QueryBuilder/AbstractQueryBuilder.php#L502

Added line #L502 was not covered by tests
}

return $this->prepareBinary($value);
Expand Down
2 changes: 1 addition & 1 deletion tests/Db/QueryBuilder/QueryBuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ public function testPrepareValueClosedResource(): void
$qb->prepareValue($resource);
}

public function testPrepareValueNonSteamResource(): void
public function testPrepareValueNonStreamResource(): void
{
$db = $this->getConnection();
$qb = $db->getQueryBuilder();
Expand Down

0 comments on commit 7d817d9

Please sign in to comment.