Skip to content

Commit 203e422

Browse files
committed
Fix syntax highlighting
1 parent 1a0485a commit 203e422

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/stubbing.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ If you have more ideas for syntactic sugar, feel free to open a pull requests.
6969

7070
For more advanced matching, we can use the matcher API to match against regular expressions and even callbacks.
7171

72-
```
72+
```php
7373
$this->http->mock
7474
->when()
7575
->methodIs($this->http->matches->regex('/(GET|POST)/'))
@@ -90,6 +90,7 @@ $this->http->mock
9090
If we need to simulate different responses for the same request based on the position, we can limit the scope of a single response
9191
a single stub.
9292

93+
```php
9394
$this->http->mock
9495
->once()
9596
->when()

0 commit comments

Comments
 (0)