1 | <?php |
||
5 | class ClientRemote extends BaseClientRemote implements RequestsInterface |
||
6 | { |
||
7 | protected $baseEndpoint = 'http://localhost/api'; |
||
8 | protected $hostedBaseEndpointFormat = 'https://%s.directus.io/api'; |
||
9 | |||
10 | public function fetchTables() |
||
14 | |||
15 | public function fetchTableInfo($tableName) |
||
19 | |||
20 | public function fetchColumns($tableName) |
||
24 | |||
25 | public function fetchColumnInfo($tableName, $columnName) |
||
29 | |||
30 | public function getEntries($tableName, array $options = []) |
||
34 | |||
35 | public function getEntry($id, $tableName, array $options = []) |
||
39 | |||
40 | public function fetchGroups() |
||
44 | |||
45 | public function fetchGroupInfo($groupID) |
||
49 | |||
50 | public function fetchGroupPrivileges($groupID) |
||
54 | |||
55 | public function fetchFiles() |
||
59 | |||
60 | public function fetchFileInfo($fileID) |
||
64 | |||
65 | public function fetchSettings() |
||
69 | |||
70 | public function fetchSettingCollection($collectionName) |
||
74 | } |
||
75 |
It seems like the type of the argument is not accepted by the function/method which you are calling.
In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug.
We suggest to add an explicit type cast like in the following example: