You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
}, Nette\DI\ServiceCreationException::class, 'Multiple services of type stdClass found: extension.one, 25_service. If you want to overwrite service extension.one, give it proper name.');
44
+
45
+
46
+
47
+
$builder = newDI\ContainerBuilder;
48
+
$builder->addDefinition('one')
49
+
->setClass('stdClass')
50
+
->addSetup('$prop[]');
51
+
52
+
Assert::exception(function () use ($builder) {
53
+
$builder->generateClasses();
54
+
}, Nette\InvalidStateException::class, "Service 'one': Missing argument for \$prop[].");
0 commit comments