Instantiator not able to resolve __constructor with alone argument
まだ誰も着手していません。
評価
調査の方向性
Start at library/Respect/Config/Container.php around line 310 and reproduce the configuration shown for a constructor with one object reference, such as [[databaseConnection]]. Compare it with the working property-name form and determine the expected resolution behavior. Done means the constructor form no longer raises the object-to-string fatal error, with a regression test if the repository has an applicable test location.
索引モデルが issue の本文から書いたものです。
説明
An excpetion was throwed when try to construct an object with only one parameter at constructor and it being a reference to another object.
[productRepository \Develop\Business\Application\Product\Repositories\Product]
__construct = [[databaseConnection]]
PHP Catchable fatal error: Object of class Respect\Config\Instantiator could not be converted to string in /Users/aspinelli/Projects/tonicospinelli/developing-for-business/vendor/respect/config/library/Respect/Config/Container.php on line 310
So, works when I use property name instead of constructor call!
- 主要言語
- PHP
- スター
- 99
- フォーク
- 7
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Respect/Config のほかの issue
-
100% Code coverage オープン
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
-
feature
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
-
discussion
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
似ている issue
-
priority: p3
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
googleapis/librarian#7636 ·
-
0. Needs triage bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
nextcloud/fulltextsearch#1011 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
phpstan/phpstan-doctrine#794 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
Automattic/static-site-importer#1767 ·