Completed
Branch master (b9874a)
by Alan
02:30
created
src/TwigFakerExtension.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
      * Create the fake data.
53 53
      *
54 54
      * @param $type
55
-     * @param $count
55
+     * @param integer $count
56 56
      */
57 57
     private function createNewFakeData($type, $count)
58 58
     {
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,9 @@
 block discarded – undo
40 40
      */
41 41
     public function fakerData($type, $count = 1, $cache_key = null)
42 42
     {
43
-        if (isset($this->cache[$cache_key])) return $this->cache[$cache_key];
43
+        if (isset($this->cache[$cache_key])) {
44
+            return $this->cache[$cache_key];
45
+        }
44 46
 
45 47
         $this->createNewFakeData($type, $count);
46 48
         $this->cacheNewFakeData($cache_key);
Please login to merge, or discard this patch.