Skip to content

Commit 013541d

Browse files
committed
Resolve the PHPStan Level 1 errors
1 parent 5632779 commit 013541d

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/Supporting/FileMakerRelation.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace INTERMediator\FileMakerServer\RESTAPI\Supporting;
44

55
use Iterator;
6+
use Exception;
67

78
/**
89
* Class FileMakerRelation is the record set of queried data. This class implements Iterator interface.

test/TestProvider.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,11 @@ public function callRestAPI($params, $isAddToken, $method = 'GET', $request = NU
5252
/**
5353
* Override communication method.
5454
* @param $url
55+
* @return string
5556
*/
56-
public function accessToContainer($url)
57+
public function accessToContainer($url): string
5758
{
58-
59+
return '';
5960
}
6061

6162
private function validResponse($input)

0 commit comments

Comments
 (0)