You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Такое объявление:
public function get(DictionariesFieldEnum $DictionaryName): array
генерит ошибку:
PHP Fatal error: Uncaught TypeError: Argument 1 passed to directapi\services\dictionaries\DictionariesService::get() must be an instance of directapi\services\dictionaries\enum\DictionariesFieldEnum, string given
Такое изменение помогло.
public function get(string $DictionaryName): array
The text was updated successfully, but these errors were encountered:
Такое объявление:
public function get(DictionariesFieldEnum $DictionaryName): array
генерит ошибку:
PHP Fatal error: Uncaught TypeError: Argument 1 passed to directapi\services\dictionaries\DictionariesService::get() must be an instance of directapi\services\dictionaries\enum\DictionariesFieldEnum, string given
Такое изменение помогло.
public function get(string $DictionaryName): array
The text was updated successfully, but these errors were encountered: