22
33namespace INTERMediator \FileMakerServer \RESTAPI ;
44
5- use INTERMediator \FileMakerServer \RESTAPI \Supporting \CommunicationProvider ;
65use INTERMediator \FileMakerServer \RESTAPI \Supporting \FileMakerLayout ;
76use INTERMediator \FileMakerServer \RESTAPI \Supporting \FileMakerRelation ;
7+ use INTERMediator \FileMakerServer \RESTAPI \Supporting \CommunicationProvider ;
88use Exception ;
99
1010/**
@@ -27,12 +27,13 @@ class FMDataAPI
2727 */
2828
2929 /**
30- * Keeping the FileMakerLayout object for each layout
30+ * @var FileMakerLayout[] Keeping the FileMakerLayout object for each layout.
3131 * @ignore
3232 */
33- private array $ layoutTable = [];
33+ private $ layoutTable = [];
34+
3435 /**
35- * Keeping the CommunicationProvider object
36+ * @var null|CommunicationProvider Keeping the CommunicationProvider object.
3637 * @ignore
3738 */
3839 private CommunicationProvider |null $ provider ;
@@ -48,12 +49,12 @@ class FMDataAPI
4849 * If you’re going to call useOAuth method, you have to specify the data for X-FM-Data-OAuth-Identifier.
4950 * @param ?string $host FileMaker Server's host name or IP address. If omitted, 'localhost' is chosen.
5051 * The value "localserver" tries to connect directory 127.0.0.1, and you don't have to set $port and $protocol.
51- * @param ? int $port FileMaker Server's port number. If omitted, 443 is chosen.
52- * @param ? string $protocol FileMaker Server's protocol name. If omitted, 'https' is chosen.
53- * @param ? array $fmDataSource Authentication information for external data sources.
54- * Ex. [{"database"=>"<databaseName>", "username"=>"<username>", "password"=>"<password>"} ].
55- * If you use OAuth, "oAuthRequestId" and "oAuthIdentifier" keys have to be specified .
56- * @param bool $isUnitTest If it's set to true, the communication provider just works locally.
52+ * @param int $port FileMaker Server's port number. If omitted, 443 is chosen.
53+ * @param string $protocol FileMaker Server's protocol name. If omitted, 'https' is chosen.
54+ * @param array $fmDataSource Authentication information for external data sources.
55+ * Ex. [{"database"=>"<databaseName>", "username"=>"<username>", "password"=>"<password>"].
56+ * If you use OAuth, "oAuthRequestId" and "oAuthIdentifier" keys have to be spedified .
57+ * @param boolean $isUnitTest If it's set to true, the communication provider just works locally.
5758 */
5859 public function __construct (
5960 string $ solution , string $ user , string $ password ,
0 commit comments