-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make IContainer et all typed #11595
Make IContainer et all typed #11595
Conversation
Signed-off-by: Roeland Jago Douma <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good
@@ -90,7 +91,7 @@ private function buildClass(ReflectionClass $class) { | |||
* @return \stdClass | |||
* @throws QueryException if the class could not be found or instantiated | |||
*/ | |||
public function resolve($name) { | |||
public function resolve(string $name): \stdClass { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💥 💥 💥
TypeError: Return value of OC\AppFramework\Utility\SimpleContainer::resolve() must be an instance of stdClass, instance of OC\Support\CrashReport\Registry returned in
Signed-off-by: Roeland Jago Douma <[email protected]>
I love this class hierarchy.
so |
Yeah it is messy... 🙊 I think this test is failing because we do sneaky things in the test. I'll check it out |
@rullzer I guess nothing for 15, right? |
Correct |
Lets close thsi for now. As this is kind of a mess |
@MorrisJobke found this branch of mine lying around.
Lets see what CI thinks