From 37f269cf53622aa96c0c7bb43629c8ac8901d5b1 Mon Sep 17 00:00:00 2001 From: logmanoriginal Date: Fri, 2 Sep 2016 18:12:37 +0200 Subject: [PATCH] [Bridge] Remove unused variable --- lib/Bridge.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/Bridge.php b/lib/Bridge.php index 789289b..657111a 100644 --- a/lib/Bridge.php +++ b/lib/Bridge.php @@ -199,12 +199,11 @@ abstract class BridgeAbstract implements BridgeInterface { if(!is_array($data)) return false; - $validated=true; foreach($data as $name=>$value){ - $registered=false; + $registered = false; foreach(static::PARAMETERS as $context=>$set){ if(array_key_exists($name,$set)){ - $registered=true; + $registered = true; if(!isset($set[$name]['type'])){ $set[$name]['type']='text'; }