Skip to content

Commit

Permalink
Merge pull request #436 from psr7-sessions/dependabot/composer/vimeo/…
Browse files Browse the repository at this point in the history
…psalm-4.24.0

Build(deps-dev): bump vimeo/psalm from 4.23.0 to 4.24.0
  • Loading branch information
Ocramius authored Jul 4, 2022
2 parents 61330c8 + 22f26e5 commit fd35cc6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"psalm/plugin-phpunit": "^0.17.0",
"roave/infection-static-analysis-plugin": "^1.20.0",
"squizlabs/php_codesniffer": "^3.7.1",
"vimeo/psalm": "^4.23.0"
"vimeo/psalm": "^4.24.0"
},
"config": {
"allow-plugins": {
Expand Down
14 changes: 7 additions & 7 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions src/Storageless/Session/DefaultSessionData.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
namespace PSR7Sessions\Storageless\Session;

use JsonSerializable;
use stdClass;

use function array_key_exists;
use function count;
Expand Down Expand Up @@ -53,7 +52,7 @@ private function __construct(
$this->originalData = $originalData;
}

public static function fromDecodedTokenData(stdClass $data): self
public static function fromDecodedTokenData(object $data): self
{
$arrayShapedData = self::convertValueToScalar($data);

Expand Down

0 comments on commit fd35cc6

Please sign in to comment.