Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
craigpotter committed May 15, 2023
1 parent f1e1eda commit b67db4d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/DataObjects/Firm.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ public static function fromResponse(Response $response): self
{
$data = $response->json('Data')[0];

ray($data);

return new static(

Check failure on line 26 in src/DataObjects/Firm.php

View workflow job for this annotation

GitHub Actions / phpstan

Unsafe usage of new static().
(int) $data['FRN'],
$data['Organisation Name'],
Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/FirmResourceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
$fca = new Fca($_ENV['AUTH_EMAIL'], $_ENV['AUTH_KEY']);
$fca->withMockClient($mockClient);

$response = $fca->firm(439536)->exists();
$response = $fca->firm(00000)->exists();

expect($response)->toBeFalse();
});
Expand Down

0 comments on commit b67db4d

Please sign in to comment.