| Total Complexity | 3 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 22 | class PhotoResponse extends AbstractMediaResponse { |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Get the photo. |
||
| 26 | * |
||
| 27 | * @return Photo|null Returns the photo. |
||
| 28 | */ |
||
| 29 | public function getPhoto(): ?Photo { |
||
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Set the photo. |
||
| 39 | * |
||
| 40 | * @param Photo $photo The photo. |
||
| 41 | * @return PhotoResponse Returns this photo response. |
||
| 42 | */ |
||
| 43 | public function setPhoto(Photo $photo): PhotoResponse { |
||
| 47 |