Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Supporting/FileMakerLayout.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
string $method = "GET"): array
{
$key = $shortKey ? "portal" : "portalData";
$prefix = $method === "GET" ? "" : "_";
$prefix = $method === "GET" ? "_" : "";
$request = [];
if (array_values($param) === $param) {
$request[$key] = $param;
Expand Down Expand Up @@ -268,7 +268,7 @@
$dataInfo = clone $result->response->dataInfo;
$dataInfo->returnedCount = 1;
}
$fmrel = new FileMakerRelation($result->response->data, $dataInfo,

Check failure on line 271 in src/Supporting/FileMakerLayout.php

View workflow job for this annotation

GitHub Actions / Run Phan

PhanTypeMismatchArgumentNullable Argument 2 ($infoData) is $dataInfo of type ?object but \INTERMediator\FileMakerServer\RESTAPI\Supporting\FileMakerRelation::__construct() takes array|object defined at src/Supporting/FileMakerRelation.php:72 (expected type to be non-nullable)
"OK", $result->messages[0]->code, null, $this->restAPI);
}
$this->restAPI->logout();
Expand Down
Loading