@@ -40,7 +40,9 @@ |
||
| 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); |