code: private function createPhoto(string $url, string $ratio, string $desc, string $info): \One\Model\Photo
      {
          return new Photo(
              $url,
              $ratio,
              $this->handleString($desc),
              $this->handleString($info)
          );
      }
docs: Create photo object