Conditions | 3 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
37 | private function getAnnotations(): array |
||
38 | { |
||
39 | if ($this->annotations === null) { |
||
40 | $this->annotations = []; |
||
41 | |||
42 | // Are all columns nullable? |
||
43 | foreach ($this->getLocalColumns() as $column) { |
||
44 | $this->annotations[] = $this->annotationParser->getColumnAnnotations($column, $this->foreignKey->getLocalTable()); |
||
|
|||
45 | } |
||
46 | } |
||
47 | return $this->annotations; |
||
48 | } |
||
50 |