<?php

namespace RectorPrefix20210809;

if (\class_exists('Swift_Image')) {
    return;
}
class Swift_Image
{
    /**
     * @param string $string
     * @return string
     */
    public static function fromPath($string)
    {
        $string = (string) $string;
        return 'foo';
    }
}
\class_alias('Swift_Image', 'Swift_Image', \false);
