Completed
Push — master ( b9874a...3faeb6 )
by Alan
04:12
created
src/TwigFakerExtension.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,9 @@
 block discarded – undo
41 41
      */
42 42
     public function fakerData($type, $count = 1, $cache_key = null)
43 43
     {
44
-        if (isset($cache_key)) $cache_key = "{$type}-$cache_key";
44
+        if (isset($cache_key)) {
45
+            $cache_key = "{$type}-$cache_key";
46
+        }
45 47
 
46 48
         if (isset($this->cache[$cache_key]))
47 49
         {
Please login to merge, or discard this patch.