Skip to content

Commit

Permalink
Silence
Browse files Browse the repository at this point in the history
  • Loading branch information
nephifey committed Apr 29, 2024
1 parent a5fdb8a commit b689eb7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Migrate/AuthorFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public function exists(): bool {

/**
* @param string $data
* @param int<0, max>|null $length
* @param int|null $length
* @return int|false
*/
public function write(string $data, ?int $length = null) {
Expand All @@ -87,6 +87,7 @@ public function write(string $data, ?int $length = null) {
return false;
}

/* @phpstan-ignore-next-line */
return fwrite($stream, $data, $length);
}

Expand Down

0 comments on commit b689eb7

Please sign in to comment.