Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dragosprotung committed May 29, 2024
1 parent 7e89228 commit 76b9572
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions config/psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
findUnusedBaselineEntry="false"
findUnusedCode="false"
errorLevel="1"
phpVersion="8.1"
>
<projectFiles>
<directory name="../src"/>
Expand Down
3 changes: 0 additions & 3 deletions src/Model/ModelRegistry.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,6 @@ public function referencedModels(): array
return $this->referencedModels;
}

/**
* @psalm-pure
*/
private function definitionKey(Definition $definition): string
{
$exampleObject = $definition->exampleObject();
Expand Down
2 changes: 0 additions & 2 deletions src/Resolver/DefinitionName.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ private static function getNameForClass(string $class): string

/**
* @param string[] $groups
*
* @psalm-pure
*/
private static function getGroupsSuffix(array $groups): string
{
Expand Down

0 comments on commit 76b9572

Please sign in to comment.