yiisoft / yiisoft/data-response

Add type `mixed` to `$data` parameter in `DataResponseFactoryInterface::createResponse()`

Open
#87 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
19
Forks
13
Avg merge
1h 6m
Merged PRs (30d)
1

Description

And remove rule MixedTypeRector skiping from rector configuration.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate DataResponseFactoryInterface::createResponse() and the Rector configuration mentioned in the issue. Check the current $data parameter type and the MixedTypeRector skip rule, then verify that the interface annotation and Rector configuration match the requested change.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
api, backend
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.