From 1fa84a3b65f51891a4663d154d6c692e41b4eeed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20J=C3=B8rgensen?= Date: Mon, 4 Aug 2025 15:07:10 +0200 Subject: [PATCH] fix `methodsto` typo (#1723) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d7f7bac..05e5335 100644 --- a/README.md +++ b/README.md @@ -212,7 +212,7 @@ If for some reason it's undesired to have them generated (one for each column), #### Magic `*_count` and `*_exists` properties -You may use the [`::withCount`](https://laravel.com/docs/master/eloquent-relationships#counting-related-models) and [`::withExists`](https://laravel.com/docs/master/eloquent-relationships#other-aggregate-functions) methodsto count the number results from a relationship without actually loading them. Those results are then placed in attributes following the `_count` and `_exists` convention. +You may use the [`::withCount`](https://laravel.com/docs/master/eloquent-relationships#counting-related-models) and [`::withExists`](https://laravel.com/docs/master/eloquent-relationships#other-aggregate-functions) methods to count the number results from a relationship without actually loading them. Those results are then placed in attributes following the `_count` and `_exists` convention. By default, these attributes are generated in the phpdoc. You can turn them off by setting the config `write_model_relation_count_properties` and `write_model_relation_exists_properties` to `false`.