File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -209,7 +209,7 @@ public function count(): int
209209 * @return FileMakerRelation|string|null
210210 * @ignore
211211 */
212- public function __get ($ key ): FileMakerRelation | string | null
212+ public function __get ($ key ): FileMakerRelation
213213 {
214214 return $ this ->field ($ key );
215215 }
@@ -367,7 +367,7 @@ public function getPortalNames(): array
367367 }
368368
369369 /**
370- * The field value of the first parameter. Or the FileMakerRelation object associated with the the first paramenter .
370+ * The field value of the first parameter. Or the FileMakerRelation object associated with the the first parameter .
371371 *
372372 * @param string $name The field or portal name.
373373 * The table occurrence name of the portal can be the portal name, and also the object name of the portal.
@@ -378,7 +378,7 @@ public function getPortalNames(): array
378378 * @see FMDataAPI::setFieldHTMLEncoding() Compatible mode for FileMaker API for PHP.
379379 *
380380 */
381- public function field ($ name , $ toName = null ): string | FileMakerRelation
381+ public function field ($ name , $ toName = null )
382382 {
383383 $ toName = is_null ($ toName ) ? "" : "{$ toName }:: " ;
384384 $ fieldName = "{$ toName }$ name " ;
You can’t perform that action at this time.
0 commit comments