Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Named parameter $refUrl used at the same time as a positional in LinkGenerator::__construct(). #265

Description

@zabous

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions