| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 43 | public function doc($param) |
||
| 44 | { |
||
| 45 | $callerPosition = $this->callerFinder->getCallerPosition(); |
||
| 46 | $filePath = $callerPosition->getFile(); |
||
| 47 | isset(self::$fileOffset[$filePath]) ? self::$fileOffset[$filePath]++ : self::$fileOffset[$filePath] = 0; |
||
| 48 | register_shutdown_function( |
||
| 49 | [DIC::class, 'appendComment'], |
||
| 50 | new ParameterInformation($param), |
||
| 51 | $callerPosition, |
||
| 52 | self::$fileOffset[$filePath] |
||
| 53 | ); |
||
| 54 | } |
||
| 55 | |||
| 68 | } |