diff --git a/lib/Thumbor/Url/BuilderFactory.php b/lib/Thumbor/Url/BuilderFactory.php index 429d649..8ab162b 100644 --- a/lib/Thumbor/Url/BuilderFactory.php +++ b/lib/Thumbor/Url/BuilderFactory.php @@ -24,17 +24,30 @@ class BuilderFactory private $server; private $secret; + /** + * @param string $server + * @param string|null $secret + * @return BuilderFactory + */ public static function construct($server, $secret=null) { return new self($server, $secret); } + /** + * @param string $server + * @param string|null $secret + */ public function __construct($server, $secret=null) { $this->server = $server; $this->secret = $secret; } + /** + * @param string $original + * @return Builder + */ public function url($original) { return Builder::construct($this->server, $this->secret, $original);