for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace Modules\Media\UrlResolvers;
use League\Flysystem\Adapter\Ftp;
class FtpUrlResolver
{
/**
* @param Ftp $adapter
* @param string $path
* @return string
*/
public function resolve(Ftp $adapter, $path)
$adapter
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
return 'ftp://' . config('filesystems.disks.ftp.host') . $path;
}
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.