Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Compiler: Add check type of defined extensions * ContainerBuilder: Annotation hack for error: 'Call to function is_int() with string|null will always evaluate to false.'. * addDefinition() can return base Definition * FactoryDefinition::getResultDefinition() can return Definition * ServiceDefinition::getEntity() can return Reference * Nette\DI\Definitions\Definition::getFactory(): Fix undefined method * Nette\DI\Definitions\Definition::getFactory(): Add check if ServiceDefinition. * FactoryDefinition: completeParameters(): resultDefinition must be type of ServiceDefinition. * Add given type * ExtensionsExtension: Check CompilerExtension type * Fix conflict * ExtensionsExtension: Redundant empty line * Compiler: Extension should be ParametersExtension. * FactoryDefinition: Revert old implementation. * ConBuilder: Remove Def. anotation + fix number detection. * ConBuilder: Fix numeric string detection * ConBuilder: Add support for starting with zero. * ConBuilder: Add support for zero * Compiler: Add assert() type check. * Compiler: Revert isset DI index check.
- Loading branch information