original_string: private function find($id): ?Model
      {
          try {
              return $this->repository->findOrFail($id);
          } catch (ModelNotFoundException $exception) {
              return null;
          }
      }
code: private function find($id): ?Model
      {
          try {
              return $this->repository->findOrFail($id);
          } catch (ModelNotFoundException $exception) {
              return null;
          }
      }
code_tokens: private function find ( $ id ) : ? Model { try { return $ this -> repository -> findOrFail ( $ id ) ; } catch ( ModelNotFoundException $ exception ) { return null ; } }
docstring: Find model in original repository.
  
  @param string|int id Id to find
  
  @return Model|null
  
  @throws RepositoryException
docstring_tokens: Find model in original repository .