original_string: public function setAllowAspectRatio($x, $y)
      {
          $this->allowAspectRatioX = (int)$x;
          $this->allowAspectRatioY = (int)$y;
  
          return $this;
      }
code: public function setAllowAspectRatio($x, $y)
      {
          $this->allowAspectRatioX = (int)$x;
          $this->allowAspectRatioY = (int)$y;
  
          return $this;
      }
code_tokens: public function setAllowAspectRatio ( $ x , $ y ) { $ this -> allowAspectRatioX = ( int ) $ x ; $ this -> allowAspectRatioY = ( int ) $ y ; return $ this ; }
docstring: Set the aspect ratio.
  By setting these,
  only images with this aspect ratio can be uploaded.
  @param int $x
  @param int $y
  @return ImageUploadValidator
docstring_tokens: Set the aspect ratio . By setting these only images with this aspect ratio can be uploaded .