Skip to content

Commit caf5efc

Browse files
Correct code styling
1 parent 539b174 commit caf5efc

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

README.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,29 +29,25 @@ abstract class TestCase extends BaseTestCase
2929
## Assertions
3030
This package adds several assertions helpful when writing [Http Tests](https://laravel.com/docs/5.8/http-tests).
3131

32-
```
33-
php
32+
```php
3433
assertActionUsesFormRequest(string $controller, string $method, string $form_request)
3534
```
3635

3736
Verifies the _action_ for a given controller performs validation using the given form request.
3837

3938

4039
## Matchers
41-
```
42-
php
40+
```php
4341
LaravelMatchers::isModel(Model $model = null)
4442
```
4543
Matches an argument _is_ the same as `$model`. When called without `$model`, will match any argument of type `Illuminate\Database\Eloquent\Model`.
4644

47-
```
48-
php
45+
```php
4946
LaravelMatchers::isCollection(Collection $collection = null)
5047
```
5148
Matches an argument _equals_ `$collection`. When called without `$collection`, will match any argument of type `Illuminate\Support\Collection`.
5249

53-
```
54-
php
50+
```php
5551
LaravelMatchers::isEloquentCollection(Collection $collection = null)
5652
```
5753
Matches an argument _equals_ `$collection`. When called without `$collection`, will match any argument of type `\Illuminate\Database\Eloquent\Collection`.

0 commit comments

Comments
 (0)