5b72e5ab04
This PR was merged into the 2.3 branch.
Discussion
----------
unified return null usages
| Q | A
| ------------- | ---
| License | MIT
This PR unifies the way we return `null` from a function or method:
* always use `return;` instead of `return null;` (the current code base uses both);
* never use `return;` at the end of a function/method.
Commits
-------
|
||
---|---|---|
.. | ||
AnalyzeServiceReferencesPass.php | ||
CheckCircularReferencesPass.php | ||
CheckDefinitionValidityPass.php | ||
CheckExceptionOnInvalidReferenceBehaviorPass.php | ||
CheckReferenceValidityPass.php | ||
Compiler.php | ||
CompilerPassInterface.php | ||
InlineServiceDefinitionsPass.php | ||
LoggingFormatter.php | ||
MergeExtensionConfigurationPass.php | ||
PassConfig.php | ||
RemoveAbstractDefinitionsPass.php | ||
RemovePrivateAliasesPass.php | ||
RemoveUnusedDefinitionsPass.php | ||
RepeatablePassInterface.php | ||
RepeatedPass.php | ||
ReplaceAliasByActualDefinitionPass.php | ||
ResolveDefinitionTemplatesPass.php | ||
ResolveInvalidReferencesPass.php | ||
ResolveParameterPlaceHoldersPass.php | ||
ResolveReferencesToAliasesPass.php | ||
ServiceReferenceGraph.php | ||
ServiceReferenceGraphEdge.php | ||
ServiceReferenceGraphNode.php |