Skip to content

Commit

Permalink
Fix static code validations
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeckerson committed Sep 25, 2022
1 parent a2e13eb commit 6aa172e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Console/OptionStack.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function offsetExists($offset): bool

/**
* @param mixed $offset
* @return mixed|string
* @return mixed
*/
public function offsetGet($offset)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Version/TimestampedItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ class TimestampedItem implements ItemInterface
protected array $parts = [];

/**
* @var string|null
* @var string
*/
private ?string $path = null;
private string $path = '';

/**
* @param string $version String representation of the version
Expand Down

0 comments on commit 6aa172e

Please sign in to comment.