Skip to content

Commit

Permalink
Bump to Rector ~2.0.0 (#1177)
Browse files Browse the repository at this point in the history
  • Loading branch information
spiralbot committed Dec 13, 2024
1 parent 379f0d8 commit c37836f
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/Bucket/ReadableInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function getLastModified(string $pathname): int;
/**
* Returns the file size in bytes.
*
* @return positive-int|0
* @return int<0, max>
* @throws FileOperationException
*/
public function getSize(string $pathname): int;
Expand Down
2 changes: 1 addition & 1 deletion src/Bucket/ReadableTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function getLastModified(string $pathname): int
}

/**
* @return positive-int|0
* @return int<0, max>
*/
public function getSize(string $pathname): int
{
Expand Down
2 changes: 1 addition & 1 deletion src/File/ReadableInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function getLastModified(): int;
/**
* {@see BucketInterface::getSize()}
*
* @return positive-int|0
* @return int<0, max>
* @throws FileOperationException
*/
public function getSize(): int;
Expand Down
2 changes: 1 addition & 1 deletion src/File/ReadableTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function getLastModified(): int
}

/**
* @return positive-int|0
* @return int<0, max>
*/
public function getSize(): int
{
Expand Down
4 changes: 2 additions & 2 deletions src/Storage/ReadableInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function exists(string|\Stringable $id): bool;
/**
* {@see BucketInterface::getLastModified()}
*
* @return positive-int|0
* @return int<0, max>
* @throws FileOperationException
* @throws InvalidArgumentException
*/
Expand All @@ -54,7 +54,7 @@ public function getLastModified(string|\Stringable $id): int;
/**
* {@see BucketInterface::getSize()}
*
* @return positive-int|0
* @return int<0, max>
* @throws FileOperationException
* @throws InvalidArgumentException
*/
Expand Down
4 changes: 2 additions & 2 deletions src/Storage/ReadableTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function exists(string|\Stringable $id): bool
}

/**
* @return positive-int|0
* @return int<0, max>
*/
public function getLastModified(string|\Stringable $id): int
{
Expand All @@ -50,7 +50,7 @@ public function getLastModified(string|\Stringable $id): int
}

/**
* @return positive-int|0
* @return int<0, max>
*/
public function getSize(string|\Stringable $id): int
{
Expand Down

0 comments on commit c37836f

Please sign in to comment.