Skip to content

Commit 4a71885

Browse files
Fix line highlighting in C# and PHP client-level retry examples
Removed blank lines after import statements in C# and PHP client-level examples to fix line highlighting. The blank lines were causing the renderer to highlight the wrong line (one line too early). - C# client-level: Changed from {4} to {3} and removed blank line - PHP client-level: Changed from {4} to {3} and removed blank line - Per-request examples were already correct - Swift examples were already correct Verified locally with fern docs dev that highlighting now correctly points to the MaxRetries/maxRetries configuration lines. Co-Authored-By: Niels Swimberghe <[email protected]>
1 parent 2180d0f commit 4a71885

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

fern/products/sdks/guides/retries-with-backoff.mdx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,8 @@ default retry limit when instantiating the client.
6969
```
7070
</CodeBlock>
7171
<CodeBlock title="C#">
72-
```csharp {4}
72+
```csharp {3}
7373
using Imdb;
74-
7574
var client = new ImdbClient(new ClientOptions {
7675
MaxRetries = 1 // overrides the default retry limit to 1
7776
});
@@ -88,9 +87,8 @@ default retry limit when instantiating the client.
8887
```
8988
</CodeBlock>
9089
<CodeBlock title="PHP">
91-
```php {4}
90+
```php {3}
9291
use Imdb\ImdbClient;
93-
9492
$client = new ImdbClient([
9593
"maxRetries" => 1 // overrides the default retry limit to 1
9694
]);

0 commit comments

Comments
 (0)