Skip to content

Commit 7a30fac

Browse files
Merge pull request #246 from lohanidamodar/fix-comments
fix doc comments
2 parents 74c820f + ec62e66 commit 7a30fac

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/SDK/Language/Dart.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ public function getParamExample(array $param)
208208
if(empty($example) && $example !== 0 && $example !== false) {
209209
switch ($type) {
210210
case self::TYPE_FILE:
211-
$output .= 'await MultipartFile.fromPath(\'<field-name>\', \'./path-to-files/image.jpg\', \'image.jpg\')';
211+
$output .= 'await MultipartFile.fromPath(\''.$param['name'].'\', \'./path-to-files/image.jpg\', \'image.jpg\')';
212212
break;
213213
case self::TYPE_NUMBER:
214214
case self::TYPE_INTEGER:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import 'client_base.dart';
22

3-
/// Implemented in `browser_client.dart` and `io_client.dart`.
3+
/// Implemented in `client_browser.dart` and `client_io.dart`.
44
ClientBase createClient({required String endPoint, required bool selfSigned}) =>
55
throw UnsupportedError(
66
'Cannot create a client without dart:html or dart:io.');
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import 'realtime_base.dart';
22
import 'client.dart';
33

4-
/// Implemented in `browser_client.dart` and `io_client.dart`.
4+
/// Implemented in `realtime_browser.dart` and `realtime_io.dart`.
55
RealtimeBase createRealtime(Client client) => throw UnsupportedError(
66
'Cannot create a client without dart:html or dart:io.');

0 commit comments

Comments
 (0)