| Conditions | 2 |
| Paths | 2 |
| Total Lines | 7 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | public static function getIncludingBranches($commit) { |
||
| 10 | $cacheKey = 'getIncludingBranches-' . $commit->getRepository()->getPath() . '-' . $commit->gethash(); |
||
| 11 | if(!isset(self::$cache[$cacheKey])) { |
||
| 12 | self::$cache[$cacheKey] = $commit->getIncludingBranches(); |
||
| 13 | } |
||
| 14 | return self::$cache[$cacheKey]; |
||
| 15 | } |
||
| 16 | } |
||
| 17 |