| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 9 | 
| Code Lines | 6 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 0 | 
| CRAP Score | 6 | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 56 | public function removePersistentCollectionForCurrentPath(): ?PersistentCollection  | 
            ||
| 57 |     { | 
            ||
| 58 |         $path = implode('.', $this->getCurrentPath()); | 
            ||
| 59 |         if (isset($this->persistentCollections[$path])) { | 
            ||
| 60 | $return = $this->persistentCollections[$path];  | 
            ||
| 61 | unset($this->persistentCollections[$path]);  | 
            ||
| 62 | return $return;  | 
            ||
| 63 | }  | 
            ||
| 64 | return null;  | 
            ||
| 65 | }  | 
            ||
| 67 |