Skip to content

Commit

Permalink
soothe phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
koriym committed Jun 24, 2019
1 parent 71b6516 commit d28d3ba
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/JsonSchema/Interceptor/JsonSchemaInterceptor.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
use BEAR\Resource\Exception\JsonSchemaNotFoundException;
use BEAR\Resource\JsonSchemaExceptionHandlerInterface;
use BEAR\Resource\ResourceObject;
use http\Exception\RuntimeException;
use function is_array;
use function is_object;
use function is_string;
Expand Down Expand Up @@ -107,7 +106,7 @@ private function validateRo(ResourceObject $ro, string $schemaFile, JsonSchema $
$this->validate($target, $schemaFile);
}

private function getTarget(\stdClass $json, JsonSchema $jsonSchema)
private function getTarget($json, JsonSchema $jsonSchema)
{
if ($jsonSchema->key === null) {
return $json;
Expand Down

0 comments on commit d28d3ba

Please sign in to comment.