| Conditions | 3 | 
| Paths | 5 | 
| Total Lines | 10 | 
| Code Lines | 6 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 5 | 
| CRAP Score | 3 | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 32 | 1 | public function loadData(string $sagaId)  | 
            |
| 33 |     { | 
            ||
| 34 |         try { | 
            ||
| 35 | 1 | $fileContents = $this->fileSystem->fileGetContents($this->getFilePath($sagaId));  | 
            |
| 36 | 1 | return null !== $fileContents ? json_decode($fileContents, true) : null;  | 
            |
| 37 | |||
| 38 | 1 |         } catch (\Throwable $exception) { | 
            |
| 39 | 1 | return null;  | 
            |
| 40 | }  | 
            ||
| 41 | }  | 
            ||
| 42 | |||
| 52 | }  |