original_string: public static function getImageInfo($image, array $config = null)
      {
          $finfo = finfo_open(FILEINFO_MIME_TYPE);
          $img = new static($image['value'], $finfo, $config);
  
          $curl = $img->getConnection();
          curl_exec($curl);
          curl_close($curl);
  
          $info = $img->getInfo();
  
          finfo_close($finfo);
  
          return $info;
      }
code: public static function getImageInfo($image, array $config = null)
      {
          $finfo = finfo_open(FILEINFO_MIME_TYPE);
          $img = new static($image['value'], $finfo, $config);
  
          $curl = $img->getConnection();
          curl_exec($curl);
          curl_close($curl);
  
          $info = $img->getInfo();
  
          finfo_close($finfo);
  
          return $info;
      }
code_tokens: public static function getImageInfo ( $ image , array $ config = null ) { $ finfo = finfo_open ( FILEINFO_MIME_TYPE ) ; $ img = new static ( $ image [ 'value' ] , $ finfo , $ config ) ; $ curl = $ img -> getConnection ( ) ; curl_exec ( $ curl ) ; curl_close ( $ curl ) ; $ info = $ img -> getInfo ( ) ; finfo_close ( $ finfo ) ; return $ info ; }
docstring: Get the info of only one image
  
  @param string     $image
  @param null|array $config
  
  @return array|null
docstring_tokens: Get the info of only one image