|
@@ -38,7 +38,7 @@ discard block |
|
|
block discarded – undo |
|
38
|
38
|
*/ |
|
39
|
39
|
protected function addValidatorTypePlugins(DependencyContainerInterface $container): DependencyContainerInterface |
|
40
|
40
|
{ |
|
41
|
|
- $container[static::VALIDATOR_TYPE_PLUGINS] = function (DependencyContainerInterface $container) { |
|
|
41
|
+ $container[static::VALIDATOR_TYPE_PLUGINS] = function(DependencyContainerInterface $container) { |
|
42
|
42
|
return [ |
|
43
|
43
|
new IsRequiredPlugin(), |
|
44
|
44
|
new IsTypePlugin(), |
|
@@ -56,7 +56,7 @@ discard block |
|
|
block discarded – undo |
|
56
|
56
|
*/ |
|
57
|
57
|
protected function addArrayHandlerFacade(DependencyContainerInterface $container): DependencyContainerInterface |
|
58
|
58
|
{ |
|
59
|
|
- $container[static::ARRAY_HANDLER_FACADE] = function (DependencyContainerInterface $container) { |
|
|
59
|
+ $container[static::ARRAY_HANDLER_FACADE] = function(DependencyContainerInterface $container) { |
|
60
|
60
|
return $container->getLocator()->arrayHandler()->facade(); |
|
61
|
61
|
}; |
|
62
|
62
|
return $container; |
Please login to merge, or discard this patch.