From f42707fa48c2fba6b3d587488cd61e318fa6db97 Mon Sep 17 00:00:00 2001 From: Arne Breitsprecher Date: Mon, 13 May 2024 13:49:27 +0200 Subject: [PATCH] Update README.md to remove named parameter from make Named parameters are given via func_get_args. Remove the parameter to example work. Fixes #213 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a695c87d5..727bac2ed 100644 --- a/README.md +++ b/README.md @@ -125,7 +125,7 @@ In case your country has specific rules for calculating holidays, for example region specific holidays, you can pass this to the constructor of your country class. ```php -$holidays = Holidays::for(Germany::make(region: 'DE-BW'))->get(); +$holidays = Holidays::for(Germany::make('DE-BW'))->get(); ``` The value, `DE-BW`, will be passed to the region parameter of the constructor of a country.