Named parameter $refUrl used at the same time as a positional in LinkGenerator::__construct().
zabous opened this issue · 0 comments
zabous commented
Version: 3.0.10
Bug Description
Using LinkGenerator for sending emails from CLI - described in https://phpfashion.com/generovani-odkazu-kuprikladu-v-emailech-a-nette
This error occurs: Named parameter $refUrl used at the same time as a positional in LinkGenerator::__construct().
In previous version of nette/di was everything OK.
Steps To Reproduce
To reproduce use this config.neon:
services:
application.linkGenerator:
arguments:
refUrl: Nette\Http\UrlScript('http://example.com')
Expected Behavior
No errors occurs and I can use LinkGenerator with defined refUrl