yiisoft / yiisoft/assets

`AssetLoader::$baseUrl` type allows `null`, but configuration does not

Open
#126 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type:bug
Dominant language
PHP
Stars
21
Forks
17
Avg merge
20m
Merged PRs (30d)
1

Description

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

Read src/AssetLoader.php at lines 50 and 56 first. Compare the nullability of AssetLoader::$baseUrl with the corresponding configuration, then update the inconsistent type declaration or configuration so they agree.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
web-dev
Issue type
Bug
Difficulty
1/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.