Skip to content

Commit 35e1824

Browse files
authored
__get() method can't have a fixed return type because of the field() method also returning several types.
1 parent 0ccc86f commit 35e1824

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Supporting/FileMakerRelation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ public function count(): int
209209
* @return FileMakerRelation|string|null
210210
* @ignore
211211
*/
212-
public function __get($key): FileMakerRelation
212+
public function __get($key)
213213
{
214214
return $this->field($key);
215215
}

0 commit comments

Comments
 (0)