Completed
Push — master ( 5be212...07d73e )
by Davis
02:44
created
src/FeatureToggler.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
     /**
31 31
      * @param string $key
32 32
      * @param bool|string $defaultValue
33
-     * @return array|mixed|null
33
+     * @return boolean|string
34 34
      */
35 35
     public function isEnabled($key, $defaultValue = false)
36 36
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
     {
37 37
         try {
38 38
             if ($this->config->has($key)) {
39
-                return (bool)$this->config->get($key, $defaultValue);
39
+                return (bool) $this->config->get($key, $defaultValue);
40 40
             } else {
41 41
                 return $defaultValue;
42 42
             }
Please login to merge, or discard this patch.