Completed
Push — master ( 08c288...12a138 )
by Bart
06:17
created
Traits/ShibbolethAttributesResolverTrait.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -104,7 +104,9 @@
 block discarded – undo
104 104
      */
105 105
     public function hasAttributeValue($name, $value = null)
106 106
     {
107
-        if (!$this->hasAttribute($name)) return false;
107
+        if (!$this->hasAttribute($name)) {
108
+            return false;
109
+        }
108 110
         return (empty($value) ? true : (array_search($value, $this->getArrayAttribute($name)) !== false));
109 111
     }
110 112
 
Please login to merge, or discard this patch.