Skip to content

"Create Method" service inspection warning raised when using double quotes in setter arguments (YAML)Β #875

Open
@aar0nr

Description

@aar0nr

If you have a service definition like below, the "foo" will show trigger a "Create Method" service inspection warning. If you use single quotes, i.e. 'foo', the warning does not display.

services:
  some_service:
    class: SomeService
    calls:
      - [someSetter, ["foo"]]

Plugin: 0.13.136
PhpStorm: 2016.3.2 (Build #PS-163.10504.2)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions