From 1100d5d95986545b0b1301dd374e2009484f56c3 Mon Sep 17 00:00:00 2001 From: Alannah Kearney Date: Sat, 1 Jun 2019 22:28:20 +1000 Subject: [PATCH] Removed InputHandlerFactory::FLAG_SKIP_VALIDATION. Passing flags in call to bind() --- src/Input/InputHandlerFactory.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Input/InputHandlerFactory.php b/src/Input/InputHandlerFactory.php index a899812..2b06ecf 100644 --- a/src/Input/InputHandlerFactory.php +++ b/src/Input/InputHandlerFactory.php @@ -9,8 +9,6 @@ use pointybeard\Helpers\Foundation\Factory; final class InputHandlerFactory extends Factory\AbstractFactory { - const FLAG_SKIP_VALIDATION = 0x0001; - public static function getTemplateNamespace(): string { return __NAMESPACE__.'\\Handlers\\%s'; @@ -34,7 +32,7 @@ final class InputHandlerFactory extends Factory\AbstractFactory if ($collection instanceof InputCollection) { $handler->bind( $collection, - Flags\is_flag_set($flags, self::FLAG_SKIP_VALIDATION) + $flags ); }